/* 
    Created on : 2021/05/01
    Author     : Eugenes Works(https://eugenesworks.com)
    Home page  : https://the-forme.net
    Version    :1.0
    MIT LICENSE
*/

body{
    margin:0 auto;
}

p{
    line-height: 1.5em;
    color: grey;
    text-indent: 1em;
}

a{
    color: #16ac00;
    text-decoration: none;
}

dl{
    color: grey;
}
dt{
    font-weight: bold;
}

input[type="text"]{
    border: none;
    border-bottom: solid 1px skyblue;
    margin: 10px;
    background-color: rgba(0,0,0,0);
    color: black;
}
input[type="date"]{
    border: none;
    border: solid 1px skyblue;
    margin: 10px;
    background-color: rgba(0,0,0,0);
    color: black;
}
input[type="time"]{
    border: none;
    border: solid 1px skyblue;
    margin: 10px;
    background-color: rgba(0,0,0,0);
    color: black;
}
input[type="number"]{
    border: none;
    border-bottom: solid 1px skyblue;
    margin: 10px;
    background-color: rgba(0,0,0,0);
    color: black;
}
input[type="tel"]{
    border: none;
    border-bottom: solid 1px skyblue;
    margin: 10px;
    background-color: rgba(0,0,0,0);
    color: black;
}
input[type="email"]{
    border: none;
    border-bottom: solid 1px skyblue;
    margin: 10px;
    background-color: rgba(0,0,0,0);
    color: black;
}

.btn {
    border: solid 1px #16ac00;
    border-radius: 5px;
    color: #16ac00;
    background-color: white;
    margin: 0 20px 0 20px;
    padding:2px 5px 2px 5px;
    box-shadow: 3px 3px 3px whitesmoke;
    user-select: none;
}
.btn:active{
    background-color: #16ac00;
    color: white;
    box-shadow: 0 0 0 white;
}
.btn:hover{
    box-shadow: 0 0 0 white;
    background-color: yellow;
}

.blubtn{
    border-color: blue;
    color: blue;
    margin-top: 10px;
    margin-bottom: 10px;
}

#top-ctr{
    width: 100%;
    height: 100vh;
    background-image: url(img/formeon_mainimage.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: 50%;
}

#top-ctr-child{
    padding: 10%;
}
#top-ctr-child h1{
    color: #16ac00;
}
#top-ctr-child p:nth-child(3){
    padding-top: 30px;
    padding-bottom: 30px;
}

#main-ctr{
    margin: 0 10% 10% 10%;
}
#main-ctr h1{color: #16ac00;}
#main-ctr h2{
    border-left: solid 3px #16ac00;
    padding-left: 5px;
    color: grey;
    margin-top: 30px;
}
#main-ctr h3{
    border-left: solid 2px #16ac00;
    padding-left: 5px;
    color: grey;
    margin-top: 30px;
}
#main-ctr dl{
    margin-left: 10px;
}
#main-ctr img{
    width: 100%;
}

#mark{
    text-align: center;
    margin: 0 auto;
    padding-top: 20px;
}
#mark img{
    width: 100px;
}
#mark strong{
    color: red;
    font-size: small;
}
#mark input {
    border: none;
    border-bottom: solid 1px skyblue;
    margin: 10px;
    background-color: rgba(0,0,0,0);
    color: black;
    width: 30%;
}
#mark input:active{
    outline: none;
    border-bottom-color: pink;
}
#mark input:focus{
    outline: none;
    border-bottom-color: pink;
}

.tbl-ctr{
    overflow: scroll;
}
table{
    border-collapse: collapse;
    width: -webkit-max-content;
}
tr:first-child td{
    border: solid 1px #16ac00;
    color: #16ac00;
    text-align: center;
}
td{
    border: solid 1px darkgrey;
    padding: 0 10px 0 10px;
    color: grey;
}
td:first-child{
    border: solid 1px #16ac00;
    color: #16ac00;
    text-align: center;
    width: 50px;
    user-select: none;
}
td:nth-child(2){
    width: 100px;
}
td:nth-child(8){
    width: 100px;
}

.bb{
    color: black;
    font-weight: bold;
}

.hint{
    border: solid 1px tomato;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    color: salmon;
}

.migi{
    width: 100%;
    text-align: right;
}

.pm{visibility: hidden;}
.mp{visibility: visible;}

.pm2{display: none;}
.mp2{display: block;}

#qr-ctr{
    margin: 0 auto;
    text-align: center;
    width: 100%;
}
#qr-ctr h5{
    width: 100%;
    color: white;
    background-color: #16ac00;
}
#qr-ctr canvas{
    padding-bottom: 100px;
}
#qr-ctr img{
    width: auto;
}

#setting-ctr{
    display: none;
}
#setting-ctr dl{
    word-break: break-all;
}
#errmessage{
    color: red;
    display: none;
    text-align: center;
    margin: 0 auto;
}

.redmess{
    color: red;
    text-align: center;
    margin: 0 auto;
}

#mark{
    display: block;
}

#mark blockquote{
    width: 80%;
    text-align: left;
    font-size: small;
    margin: 0 auto;
    padding: 15px;
    border: solid 1px red;
    border-radius: 5px;
    line-height: 1.5em;
}

#form-ctr{
    margin: 0 auto;
    width: 80%;
}

#form-ctr input[type = "text"]{
    margin-left: 30%;
    margin-top: 5px;
    width: 50%;
    color: black;
}
#form-ctr input[type = "number"]{
    margin-left: 30%;
    margin-top: 5px;
    width: 50%;
    color: black;
}
#form-ctr input[type = "email"]{
    margin-left: 30%;
    margin-top: 5px;
    width: 50%;
    color: black;
}
#form-ctr input[type = "tel"]{
    margin-left: 30%;
    margin-top: 5px;
    width: 50%;
    color: black;
}
#form-ctr input[type = "date"]{
    margin-left: 30%;
    margin-top: 5px;
    width: 25%;
    color: black;
}
#form-ctr input[type = "date"]::before{
    content: '日付';
}
#form-ctr input[type = "time"]{
    margin-left: 20px;
    margin-top: 5px;
    width: 25%;
    color: black;
}
#form-ctr input[type = "time"]::before{
    content: '時間';
}
#form-ctr select{
    width: 40%;
    border: solid 1px skyblue;
    outline:none;
    background-color: white;
}
#form-ctr select:active{
    border: solid 1px pink;
}

#form-ctr fieldset{
    border:none;
    text-align: center;
    margin-bottom: 40px;
}
#form-ctr legend{
    color: grey;
    width: 100%;
    text-align: left;
}
#form-ctr datalist{
    outline: none
}
#form-ctr input[type = "reset"]{
    border:solid 1px blue;
    border-radius: 5px;
    color: blue;
    outline: none;
    background-color: white;
    padding-right: 10PX;
    padding-left: 10PX;
    margin-right: 10PX;
    margin-left: 10PX;
    box-shadow: 3px 3px 3px whitesmoke;
    margin-top: 10px;
    margin-bottom: 10px;
}
#form-ctr input[type = "reset"]:active{
    background-color: blue;
    color: white;
    box-shadow: 0 0 0 white;
}
#form-ctr input[type = "reset"]:focus{
    box-shadow: 0 0 0 white;
}
#form-ctr input[type = "reset"]:hover{
    background-color: yellow;
}

#form-ctr input[type = "submit"]{
    border:solid 3px red;
    color: white;
    outline: none;
    background-color: red;
    padding-right: 25PX;
    padding-left: 25PX;
    margin-right: 10PX;
    margin-left: 10PX;
    box-shadow: 3px 3px 3px whitesmoke;
    margin-top: 10px;
    margin-bottom: 10px;
}
#form-ctr input[type = "submit"]:active{
    background-color: white;
    color: red;
    box-shadow: 0 0 0 white;
}
#form-ctr input[type = "submit"]:focus{
    box-shadow: 0 0 0 white;
}
#form-ctr input[type = "submit"]:hover{
    background-color: yellow;
    color:red;
}
.required:after{
    content: "(必須)";
    color: red;
    font-size: smaller;
}

.grnbl:before{
    content: '';
    padding-left: 5px;
    border-left: solid 2px #16ac00;
}

.tr{
    display: none;
    width: 50%;
}

.te:checked ~ .tr{
    display: block;
}

.hidari{
    text-align: left;
}
.migi{
    text-align: right;
}

.nana{
    width: 70%;
    margin-left: 20%;
}

.mannaka{
    width: 80%;
    text-align: center;
    margin: 0 auto;
}
.mannaka p{
    margin-top: 20px;
    margin-bottom: 20px;
}

.mgnltten{
    margin-left: 10%;
}
.mgnbtm{
    margin-bottom: 40px;
}

.aka{
    background-color: black;
    color: yellow;
    padding-right: 20PX;
    padding-left: 20PX;
    margin-right: 10PX;
    margin-left: 10PX;
    border: solid 1px black;
}
.aka:hover{
    background-color: yellow;
    color: black;
}

.ftr{
    width:100%;
    text-align: center;
    margin: 0 auto;
    padding-top: 30px;
}
.ftr p{
    width: 100%;
    background-color: powderblue;
}
.ftr small{
    color: white;
}

#ftitle{
    display: none;
}
#resbtn{
    display: none;
}
#email{
    margin-left: 30%;
    margin-top: 5px;
    width: 50%;
    color: black;
}

#sbt{
    display: block;
}

.icon{
    width: 100px;
    margin: 0 auto;
}

.hide{
    display: none;
}

.mainimage-chli a{
    color: black;
}
.mainimage-chli a span{
    position: absolute;
    top: calc(90% - 53px);
    left: 25%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb 2s infinite;
    opacity: 0;
    box-sizing: border-box;
}
.mainimage-chli a span:nth-of-type(1){
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}
.mainimage-chli a span:nth-of-type(2){
    top: calc(90% - 36px);
    -webkit-animation-delay: .15s;
    animation-delay: .15s;
}
.mainimage-chli a span:nth-of-type(3){
    top:calc(90% - 20px);
    -webkit-animation-delay: .3s;
    animation-delay: .3s;
}
@-webkit-keyframes sdb{
    0%{opacity: 0;}
    50%{opacity: 1;}
    100%{opacity: 0;}
}
@keyframes sdb{
    0%{opacity:0;}
    50%{opacity:1;}
    100%{opacity:0;}
}

#cpy{
    margin-left: 10%;
    height: 5px;
    overflow: hidden;
    opacity: 0;
}
#cpy:active{
    background-color: white;
}

.maitenance{
    text-align: center;
    margin: 0 auto;
    color: orangered;
    padding-top: 5%;
    padding-bottom: 5%;
    display: none;
}

input:active{
    outline: none;
    border-bottom: solid 1px pink;
}
input:focus{
    outline: none;
    border-bottom: solid 1px pink;
}

input:active::placeholder{
    color: wheat;
    font-size: 2px;
    text-align: right;
    outline: none;
}
input:focus::placeholder{
    color: wheat;
    font-size: 2px;
    text-align: right;
}

@media screen and (max-width: 640px){
    #top-ctr-child{
        padding: 10%;
        width: 70%;
    }
    #form-ctr{
        width: 100%;
    }
    #form-ctr input[type = "text"]{
        margin-left: 10%;
        width: 70%;
    }
    #form-ctr input[type = "number"]{
        margin-left: 10%;
        width: 70%;
    }
    #form-ctr input[type = "email"]{
        margin-left: 10%;
        width: 70%;
    }
    #form-ctr input[type = "tel"]{
        margin-left: 10%;
        width: 70%;
    }
    #form-ctr input[type = "date"]{
        margin-left: 10%;
        width: 30%;
    }
    #form-ctr input[type = "time"]{
        width: 30%;
    }
    #form-ctr select{
        width: 70%;
    }
    .nana{
        margin-left: 5%;
        width: 90%;
    }
    .pm{visibility: visible;}
    .mp{visibility: hidden;}
    
    .pm2{display: block;}
    .mp2{display: none;}
    
    .mainimage-chli a{
        visibility: hidden;
    }
}