@charset "utf-8";
body {
    font-family: Verdana, "游ゴシック Medium", "Yu Gothic Medium", YuGothic, "游ゴシック体", sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #ffff5e;
    line-height: 1.6;
}
.wrap {
    max-width: 600px;
    margin: 0 auto;
}
.red {
    color: crimson;
    font-weight: bold;
}
* {
    box-sizing: border-box;
}
.cover img {
    vertical-align: top;
    pointer-events: none;
    user-select: none;
}
img, video {
	width: 100%;
	height: auto;
}
h1, h2 {
    font-size: large;
    text-align: center;
    margin: 1rem 0;
}
small {
    display:inline-block;
    line-height: 1.2;
}

.btn {
    margin: 1rem auto 2rem auto;
    padding: 1rem;
    width: 82%;
    display: block;
    text-align: center;
	text-decoration: none;
    border: 0 none;
    border-radius: 10px;
    font-size: x-large;
    font-weight: bold;
    line-height: initial;
    color: #261917 !important;
    background-color: #ffff5e;
    cursor: pointer;
}

footer {
    font-size: 8px;
    text-align: center;
    letter-spacing: -0.05em;
    margin: 1rem auto;
}

/* forms */
.forms {
    border: 1rem solid #ffff5e;
    box-sizing: border-box;
    padding: 1rem;
    background: #ffffff;
}
.form-group {
    padding: .5rem 0;
}
.form-group.error {
    border: 2px solid #ffff5e;
}
.form-group label:first-child {
    display:inline-block;
    margin-bottom: .5rem;
}
.form-group input, .form-group textarea, .form-group select {
    padding: .5rem;
    display: block;
    width: 100%;
    color: inherit;
    font-size: medium;
    border: 1px solid #777;
    border-radius: 0;
    background-color: transparent;
}
.form-group input.mini {
    display: inline-block;
    width: auto;
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2rem;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 3l5 5 5-5'/></svg>")
    no-repeat right .5rem center / 14px 10px;
}

.form-group input[type="radio"], .form-group input[type="checkbox"] {
    padding: .5rem;
    display: inline-block;
    width: auto;
    font-size: medium;
    border: 1px solid #777;
}
.form-group input[type="file"] {
    /* display: none; */
    font-size: small;
    margin-bottom: .5rem;
}
.form-group input::placeholder {
    font-size: small;
}
.form-group .custom-file-label {
    position: relative;
    border: 1px solid #777;
    margin-bottom: 1rem;
}
.form-group .custom-file-label label {
    display: inline-block;
    margin: .5rem;
    padding: .25rem .5rem;
    cursor: pointer;
    border: 1px solid #777;
    border-radius: 5px;
}

/* preview */
.preview {
    font-size: small;
    position: relative;
}
.preview img {
    display: none;
    width: 100px;
    min-height: 50px;
    background-color: #eee;
    border-radius: 5px;
    margin-bottom: .5rem;
}
.preview i {
    display: inline-block;
    text-indent: 24px;
}
.preview span {
    display: none;
    position: absolute;
    z-index: 2;
    top: -5px;
    left: -5px;
    font-size: 14px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    background-color: #CC6666;
    box-shadow: 1px 1px 5px #00000080;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
}
