* {
    margin: 0;
    padding: 0;
    border: 0;
}

/* body, html {
    overflow: hidden;
    height: 100%;
} */


html {
    /* overflow: hidden; */
    height: 100%;
    min-height: 100%;
    /* height: 100vh; */
    /* height: 100dvh; */
    /* iOS 15.4~ */

    /* height: -webkit-fill-available; */
}

body {
    overflow: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
    /* height: 100vh; */
    /*height: 100dvh;*/
    /* iOS 15.4~ */
    /* height: -webkit-fill-available; */
    /* これを使うとフッターが固定されず、スクロールもできなくなる */
    min-height: 100%;
    /* min-height: -webkit-fill-available; */
    /* min-height: 100dvh; */
}

button {
    border: 1;
    border-radius: 4px;
    background-color: grey;
}


.page {
    display: flex;
    flex-direction: column;
    /* max-width: 1170px; */
    height: 100%;
    width: 100%;
    /* overflow: scroll; */
    /* -webkit-overflow-scrolling: touch; */
    margin-left: auto;
    margin-right: auto;
    /* padding-left: 16px;
    padding-right: 16px; */
    background: slategrey;
}

.header0 {
    /* align-content: center;
    align-items: center; */
    background: rgb(179, 217, 226);
    /* bottom: auto;
    flex: none;
    flex-direction: row-reverse;
    flex-wrap: nowrap; */
    height: 50px;
    /* justify-content: space-between; */
    left: 0;
    margin: 0 0 0 0;
    padding: 0px 40px 0px 57px;
    position: fixed;
    right: 0px;
    top: 0;
    width: auto;
    z-index: 2;
    max-width: 100%;

    /* margin: 0;

    padding: 0; */
    padding-top: 10px;
    padding-left: 16px;
    padding-right: 16px;
    border: 0;
    /* list-style: none;
    font-family: sans-serif;
    line-height: 1;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    transition: .3s cubic-bezier(.4,.4,0,1);
    color: #333;
    word-spacing: 1px;
    backface-visibility: hidden;     */

}

.header {
    width: 100%;
    height: 50px;
    padding-left: 16px;
    padding-right: 16px;

    background-color: goldenrod;
}

#footer {
    z-index: 1000;
    margin-top: auto;
    /* position:absolute; */
    position: sticky;
    bottom: 0px;
    width: 100%;
}

.footer0 {
    margin-top: auto;
    width: 100%;
    /* position:absolute;
    bottom: 0px; */
    /* height: 50px; */
    padding: 15px 0;
    background: rgb(179, 217, 226);
    display: flex;
    align-items: center;
}

#title_name {
    /* display: block; */
    color: #333333;
    font-family: Roboto;
    font-size: 28px;
    font-style: normal;
    font-weight: 300;
    height: auto;
    text-align: left;
    width: auto;
    max-width: 100%;
    justify-content: center;

    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    font-family: sans-serif;
    line-height: 1;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    /* transition: .3s cubic-bezier(.4,.4,0,1); */
    color: #333;
    word-spacing: 1px;
    backface-visibility: hidden;

    /* display: -webkit-flex;
        display: flex; 
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-align-items: center;
        align-items: center;
        -webkit-align-content: center;
        align-content: center;
        -webkit-justify-content: center;
        justify-content: center;
        overflow: visible;
        word-break: break-word;
        word-wrap: anywhere;*/

    /* margin-block-start: 1em;
        margin-block-end: 1em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;         */
}

#menu {
    position: absolute;
    top: 25px;
    right: 60px;
    width: auto;
}

#loginName {
    position: absolute;
    top: 5px;
    right: 60px;
    width: auto;
}

#loginbox {
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 450px;
    height: 280px;
    border: 1px solid #aaa;
    background: white;
}

#signupbox {
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 450px;
    height: 280px;
    border: 1px solid #aaa;
    background: white;
}

.roundtextbox {
    border: 1px solid #000000;
    border-radius: 10px;
    box-shadow: none;
    outline: none;
    color: #333;
    font-size: 15px;
    font-weight: 400;
    height: 30px;
    /* justify-content: center;
    letter-spacing: 0em;
    line-height: 1.4;
    margin: 0px 0px 1px 0px;
    opacity: 1; */
    padding: 0px 10px 0px 10px;
    text-align: left;
    width: 250px;
    max-width: 100%;
}

.flexiblebox {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    /* 縦方向中央揃え（Safari用） */
    align-items: center;
    /* 縦方向中央揃え */
    -webkit-justify-content: center;
    /* 横方向中央揃え（Safari用） */
    justify-content: center;
    /* 横方向中央揃え */
}

/* #emailbox, #passwordbox {
    position:absolute;
    left: 160px;
    background: #FFFFFF;
} */
#namebox1 {
    position: absolute;
    left: 160px;
    width: 100px;
}

#namebox2 {
    position: absolute;
    left: 300px;
    width: 100px;
}

#loginsubmit {
    text-align: center;
    position: absolute;
    left: 260px;
    width: 150px;
    background: rgb(255, 230, 0);
}

#signupbutton {
    text-align: center;
    position: absolute;
    left: 260px;
    width: 150px;
    background: rgb(143, 255, 193);
}

#stage {
    display: block;
    position: relative;
    /* margin-top: 60px; */
    top: 60px;
    /* left: 0; */
    height: 100%;
    width: 100%;
    /* padding-bottom: 30px; */
    /* float:left;     */
    background-color: black;
}

#panel1 {
    width: 100%;
    position: absolute;
    bottom: 50px;
    height: 50px;
    /* background-color: goldenrod; */
    z-index: 100;
}

#form1 {
    width: 200px;
    /* height:30px;  */
    /* position: absolute; */
    /* bottom: 10px; */
    /* background-color: gold; */
    margin: auto;
}

.playstopbtn {
    background: #0fd;
    /* border: 1px solid #0fd; */
    border-radius: 5px;
    padding: 10px;
}

.inner_page {
    position: relative;
    top: 55px;
    width: 98%;
    height: 45px;
    margin: 0 auto;
    font-size: small;
}

.gnavi__wrap {
    /* width: 1200px; */
    margin: 0 auto;
}

.gnavi__lists {
    display: flex;
    padding-left: 0;
}

.gnavi__list {
    width: 25%;
    height: 45px;
    background-color: #E5F0F8;
    position: relative;
    transition: all .3s;
    list-style: none;
}

.gnavi__list:hover {
    background-color: #0071BB;
}

.gnavi__list:not(:first-child)::before {
    content: "";
    width: 1px;
    height: 100%;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s;
}

.gnavi__list:hover::before {
    background-color: #0071BB;
}

.gnavi__list a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #1b4059;
    /* font-size: 15px; */
    letter-spacing: 0.05em;
    /* font-weight: 600; */
    transition: all .3s;
}

.gnavi__list:hover a {
    color: #fff;
}

.gnavi__list p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    background-color: rgb(194, 54, 159);
    color: #fff;
    /* font-size: 15px; */
    letter-spacing: 0.05em;
    /* font-weight: 600; */
    transition: all .3s;
}


.dropdown__lists {
    display: none;
    /*デフォルトでは非表示の状態にしておく*/
    width: 100%;
    position: absolute;
    top: 45px;
    left: 0;
    padding-left: 0;
}

.gnavi__list:hover .dropdown__lists {
    display: block;
    /*Gナビメニューにホバーしたら表示*/
}

.dropdown__list {
    background-color: #004d80;
    height: 45px;
    transition: all .3s;
    position: relative;
    list-style: none;
    z-index: 410;
}

.dropdown__list:not(:first-child)::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #3492d1;
    position: absolute;
    top: 0;
    left: 0;
}

.dropdown__list:hover {
    background-color: #003558;
}

/* .dropdown__list a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    position: relative;
} */
/* .dropdown__list a::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(135deg);
    position: absolute;
    right: 15px;
    top: calc(50% - 5px);
} */



.menubox {
    margin-left: 0.1%;
    margin-right: 0.1%;
    margin-top: 2px;
    margin-bottom: 2px;
    float: left;
    width: 19%;
    background-color: #c8dd93;
    text-align: center;
}

.ichiran_table_img {
    width: 200px;
    padding: 5px;
    border: 1px solid #00F;
}


@media screen and (max-width: 768px) {
    .menubox {
        margin-left: 0.1%;
        margin-right: 0.1%;
        margin-top: 2px;
        margin-bottom: 2px;
        float: left;
        width: 33%;
        background-color: #c8dd93;
    }

    .ichiran_table_img {
        width: 160px;
        padding: 5px;
        border: 1px solid #00F;
    }
}

@media screen and (max-width: 400px) {
    .menubox {
        margin-left: 0.1%;
        margin-right: 0.1%;
        margin-top: 2px;
        margin-bottom: 2px;
        float: left;
        width: 48%;
        background-color: #c8dd93;
    }

    #title_name {
        color: #333333;
        font-family: Roboto;
        font-size: 24px;
        font-style: normal;
        font-weight: 300;
        height: auto;
        text-align: left;
        width: auto;
        max-width: 100%;
        justify-content: center;

        margin: 0;
        padding: 0;
        border: 0;
        list-style: none;
        font-family: sans-serif;
        line-height: 1;
        text-decoration: none;
        -webkit-font-smoothing: antialiased;
        box-sizing: border-box;
        color: #333;
        word-spacing: 1px;
        backface-visibility: hidden;
    }

    #menu {
        position: absolute;
        top: 25px;
        right: 10px;
        width: auto;
        font-size: 10pt;
    }

    #loginName {
        position: absolute;
        top: 5px;
        right: 10px;
        width: auto;
    }

    .ichiran_table_img {
        width: 160px;
        padding: 5px;
        border: 1px solid #00F;
    }
}

@media screen and (max-width: 300px) {
    .menubox {
        margin-left: 0.1%;
        margin-right: 0.1%;
        margin-top: 2px;
        margin-bottom: 2px;
        float: left;
        width: 98%;
        background-color: #c8dd93;
    }

    #title_name {
        color: #333333;
        font-family: Roboto;
        font-size: 24px;
        font-style: normal;
        font-weight: 300;
        height: auto;
        text-align: left;
        width: auto;
        max-width: 100%;
        justify-content: center;

        margin: 0;
        padding: 0;
        border: 0;
        list-style: none;
        font-family: sans-serif;
        line-height: 1;
        text-decoration: none;
        -webkit-font-smoothing: antialiased;
        box-sizing: border-box;
        color: #333;
        word-spacing: 1px;
        backface-visibility: hidden;
    }

    .ichiran_table_img {
        width: 160px;
        padding: 5px;
        border: 1px solid #00F;
    }
}

/* #select_image {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    background: none;
    color: #333;
    font-size: 15px;
    font-weight: 400;
    height: 30px;
    padding: 0px 10px 0px 10px;
    text-align: left;
    width: auto;
    margin: auto;
    max-width: 100%;    
} */


/* #upload_submit {
    border: 1px solid #000000;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    background: #f0f19c;
    color: #333;
    font-size: 15px;
    font-weight: 400;
    height: 30px;
    padding: 0px 10px 0px 10px;
    text-align: left;
    width: auto;
    margin: auto;
    max-width: 100%;    
} */

th.width30 {
    width: 30%;
}

th.width70 {
    width: 70%;
}

table td {
    word-break: break-all;
}

#addrecord2submit {
    border: 1px solid #000000;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    background: #f0f19c;
    color: #333;
    font-size: 15px;
    font-weight: 400;
    height: 30px;
    /* justify-content: center;
    letter-spacing: 0em;
    line-height: 1.4;
    margin: 0px 0px 1px 0px;
    opacity: 1; */
    padding: 0px 10px 0px 10px;
    text-align: left;
    width: auto;
    margin: auto;
    max-width: 100%;

}

#ichiran_area {
    position: relative;
    top: 20px;
    width: 90%;
    height: auto;
    margin: 0 auto;
    background: beige;
}

#ichiran_table {
    border: 1px solid rgb(0, 0, 0);
}

.card_container {
    box-sizing: border-box;
    margin-top: 70px;
    overflow: auto;
    /* position: relative;
    top: 70px; */
    width: 100%;
    /* padding: 30px; */
    /* height: 100%; */
    margin-bottom: 60px;
    bottom: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* .card {
    margin: 15px;
    width: 200px;
    height: 350px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 8px 15px #333;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .card-img {
    border-radius: 5px 5px 0 0;
    max-width: 100%;
    height: auto;
  }
  .card-content {
    padding: 0px 15px 0px 15px;
  }
  .card-title {
    font-size: 16px;
    margin-bottom: 16px;
    text-align: center;
    color: #333;
  }
  .card-text {
    color: #777;
    font-size: 14px;
    line-height: 1.3;
    word-break: break-all;
  }
  .card-link {
    text-align: center;
    border-top: 1px solid #eee;
    padding: 1px;
  }
  .card-link a {
    text-decoration: none;
    color: #0bd;
    margin: 0 10px;
  }
  .card-link a:hover {
    color: #0090aa;
  } */

#mapid {
    position: relative;
    height: 100%;
    width: 100%;
    margin-top: 60px;
    margin-bottom: 55px;
}

#mapid2 {
    position: relative;
    height: 500px;
    width: 100%;
    margin-top: 60px;
    margin-bottom: 55px;
}

.appselector {
    position: relative;
    top: 140px;
    margin: 0 auto;
    padding-bottom: 25px;
    width: 90%;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.appbox {
    display: inline-block;
    width: 30%;
    border: 5px solid rgb(200, 200, 200);
    margin: 0px 5px 0px 0px;
    padding: 1em;
    background-color: mediumaquamarine;
    font-size: 14pt;
    cursor: pointer;
}

.appbox:hover {
    background: mediumpurple;
}

@media screen and (max-width:590px) {
    .appbox {
        display: block;
        width: 80%;
        margin: 10px auto;
    }
}

fieldset {
    border: none;
    padding: 0;
    margin: 0 auto;
    text-align: center;
}

.radio-inline__input {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    /* box-sizing: border-box; */
}

.radio-inline__label {
    display: inline-block;
    width: 30%;
    padding: 0.5rem 1rem;
    margin: 5px 5px;
    /* margin-right: 18px; */
    border-radius: 3px;
    transition: all .2s;
    background-color: mediumaquamarine;
}

.radio-inline__input:checked+.radio-inline__label {
    background: rgb(194, 54, 159);
    color: #fff;
    text-shadow: 0 0 1px rgba(0, 0, 0, .7);
}

.radio-inline__input:focus+.radio-inline__label {
    outline-color: #4D90FE;
    outline-offset: -2px;
    outline-style: auto;
    outline-width: 5px;
}

.radio-inline__input:hover+.radio-inline__label {
    background: mediumpurple;

}

/* ここは派生形 */

.radio-inline__input2 {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    /* box-sizing: border-box; */
}

.radio-inline__label2 {
    display: inline-block;
    width: 30%;
    padding: 0.5rem 1rem;
    margin: 5px 5px;
    /* margin-right: 18px; */
    border-radius: 3px;
    transition: all .2s;
    background-color: rgb(214, 202, 93);
}

.radio-inline__input2:checked+.radio-inline__label2 {
    background: rgb(194, 54, 159);
    color: #fff;
    text-shadow: 0 0 1px rgba(0, 0, 0, .7);
}

.radio-inline__input2:focus+.radio-inline__label2 {
    outline-color: #4D90FE;
    outline-offset: -2px;
    outline-style: auto;
    outline-width: 5px;
}

.radio-inline__input2:hover+.radio-inline__label2 {
    background: mediumpurple;

}


@media screen and (max-width:590px) {
    .radio-inline__label {
        display: block;
        width: 80%;
        margin: 10px auto;
    }

    .radio-inline__label2 {
        display: block;
        width: 80%;
        margin: 10px auto;
    }

}

/* addrecord.phpにおいてポップアップウィンドウ */
.popup_open {
    cursor: pointer;
}

#label_iphone_ipad {
    background-color: #c2d7db;
    color: #000;
    /* display: inline-block; */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #1492AF;
    border-radius: 20px;
    padding: 10px;
    /* height: 40px; */
    /* line-height: 60px; */
    /* width: 200px; */
    text-align: center;
    font-weight: bold;
    margin: 0 auto 10px;
    font-size: 0.8em;
}

#label_button_disclosure {
    background-color: #f5f5f5;
    color: #00f;
    /* display: inline-block; */
    position: relative;
    right: 30px;
    /* transform: translateX(-50%); */
    border: 1px solid #0000ff;
    border-radius: 4px;
    padding: 4px;
    height: 36px;
    /* line-height: 60px; */
    width: 75px;
    text-align: center;
    /* font-weight: bold; */
    /* margin: 0 auto 10px; */
    /* font-size: 0.8em; */
    box-shadow: 1px 1px 3px 1px #999;
}

#pop-up {
    display: none;
}
#pop-up-disclosure {
    display: none;
}

.overlay {
    display: none;
}

#pop-up:checked+.overlay {
    display: block;
    z-index: 9999;
    background-color: #00000070;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
}

#pop-up-disclosure:checked+.overlay {
    display: block;
    z-index: 9999;
    background-color: #00000070;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
}


.popup_window {
    width: 90vw;
    max-width: 380px;
    height: 290px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.text {
    font-size: 18px;
    margin: 0;
}

.popup_close {
    cursor: pointer;
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 24px;
}

.download_button {
    /* background: white;  */
    color: blue;
    border: 1px;
    border-radius: 4px;
    display: block;
    text-align: center;
    /* box-shadow: 0 2px 10px 0 #9e9e9e; */
    padding: 0 5px 0 5px;
}

/* ローディング画面 */
#loading {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 50%;

    transition: all 1s;
    background-color: #4440;
}

.spinner {
    border: 4px solid #15e3f1;
    border-top: 4px solid #ffffff00;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    margin: auto;
    animation: spin 2s linear infinite;
}

/* ローディングアニメーション */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


