@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

#wrap {
    width: 100%;
    /* グリッドレイアウト */
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 空きスペースを自動的に埋める（重要） */
    grid-auto-flow: dense;
    gap: 10px;
}

@media screen and (max-width: 960px) {
    #wrap {
        display: inline-block;
        gap: 0px;
    }
}

#mapwrap {
    height: 400px;
}

#operationwrap {
    background-color: lavender;
    padding: 5px;
    font-size: small;
}

#operation_srv {
    width: 100%;
    background-color: #605DA1;
}

.nowrap {
    white-space: nowrap;
}

.required {
    background-color: #605DA1;
    color: white;
    padding: 5px;
}

.btnwrap {
    text-align: right;
}

#map_title {
    height: 20px;
    font-size: small;
    background-color: lavender;
}

#map {
    width: 100%;
    height: calc(100% - 20px);
    border: solid 1px black;
}


.leaflet-marker-shadow {
    display: none !important;
}

.icon-red {
    /* icon-redは最初に指定したクラス名 */
    filter: hue-rotate(150deg);
}

#input_input {
    font-weight: bold;
}

#input_lot {
    color: white;
    background-color: #605DA1;
}

.pinpoint {
    font-weight: normal;
    font-size: small;
    margin-left: 10px;
}


#username {
    width: 100%;
}

#nickname {
    width: 100%;
}

#memo,
#comment {
    width: auto;
    height: 100px;
    min-width: 100%;
    max-width: 100%;
    max-height: 200px;
}

#passkey {
    margin-bottom: 10px;
}

.headline-msg {
    width: 100%;
    font-size: small;
}

#memolist-wrap {
    width: 100%;
    list-style: none;
    margin-top: 10px;
}

.memo-box {
    display: block;
    background-color: lavender;
}

.bx_head {
    color: white;
    background-color: #605DA1;
    font-size: small;
    padding: 0 5px;
}

.bx_name {
    color: white;
    background-color: #605DA1;
    font-size: small;
    padding: 0 5px;
    text-align: right;
}

.bx_memo {
    white-space: pre-wrap;
    padding: 5px;
    font-size: small;
}

#str_count {
    color: grey;
    font-size: small;
}

.limit-over {
    color: red;
}

.bx_date {
    color: grey;
    padding: 5px;
    font-size: small;
    text-align: left;
}

.btn_like {
    color: red;
    font-size: small;
    position: absolute;
    right: 0;
    cursor: pointer;
    margin-right: 5px;
}

.bx_footer {
    padding: 5px;
    font-size: small;
    /*text-align: left;*/
    display: flex;
    justify-content: space-between;
}

.link_comment {
    margin-left: auto;
}

.bx_comment {
    font-size: small;
    color: grey;
}

.comment_name {
    text-align: right;
}

.fukidashi {
    position: relative;
    width: 100%;
    /* 横幅100%の時にパディングが外に食い込まないよう指定 */
    box-sizing: border-box;
    padding: 10px 5px 5px 5px;
    border-top: 2px solid #605DA1;
    background-color: white;
    isolation: isolate;

    &::before {
        content: "";
        position: absolute;
        top: -5px;
        left: 50%;
        width: 15px;
        height: 15px;
        box-sizing: border-box;
        background-color: white;
        /* 背景色と同じ色を指定 */
        rotate: -45deg;
        translate: -50% 0;
    }

    &::after {
        content: "";
        position: absolute;
        top: -9px;
        /* 線が綺麗に重なるよう微調整 */
        left: 50%;
        z-index: -1;
        width: 15px;
        height: 15px;
        box-sizing: border-box;
        border-top: 2px solid #605DA1;
        /* 上の線 */
        border-left: 2px solid #605DA1;
        /* 左の線 */

        /* 枠線の位置を調整 */
        border-color: #605DA1 transparent transparent #605DA1;
        background-color: lavender;
        /* 向きを上向きに調整 */
        rotate: 45deg;
        translate: -50% 0;
    }
}



.btn_Confirmed {
    border: 2px solid;
}

#wrap_pager {
    margin-top: 50px;
    text-align: center;
}

#wrap_pager span {
    border: solid 2px #605DA1;
    padding: 2px 4px;
}

#wrap_pager .select {
    background-color: #605DA1;
    color: white;
}

#comment_name {
    width: 100%;
}

#comment_short {
    width: auto;
    height: 50px;
    min-width: 100%;
    max-width: 100%;
    max-height: 100px;
}



/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container,
.modal-container-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 50%);
    padding: 100px 20px 20px 20px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-sizing: border-box;
    z-index: 9990;
}

@media screen and (max-width: 960px) {

    .modal-container,
    .modal-container-img {
        padding: 100px 10px 10px 10px;
    }
}

/*モーダル本体の擬似要素の指定*/
.modal-container:before,
.modal-container-img:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active,
.modal-container-img.active {
    opacity: 1;
    visibility: visible;
}

/*モーダル枠の指定*/
.modal-body {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    /*max-width: 500px;*/
    width: 90%;
}

/*モーダルを閉じるボタンの指定*/
.modal-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 40px;
    right: -40px;
    width: 40px;
    height: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/*モーダル内のコンテンツの指定*/
.modal-content,
.modal-content-img {
    background: #fff;
    text-align: left;
    padding: 10px;
}

.btn_imgpop {
    /* 背景色を無色に */
    background: transparent;
    /* 枠線を消す */
    border: none;
    /* クリックした際に枠線をnone消す */
    outline: none;
    /* 影を消す */
    box-shadow: none;
}

#input_tochimemo,
#delete_memo,
#report_memo,
#input_report,
#input_comment_short,
#delete_comment {
    color: white;
    background-color: #605DA1;
    font-size: small;
    padding: 5px;
}

.text_wrap {
    white-space: pre-wrap;
}

.red {
    color: red;
}