@charset "utf-8";
/* CSS Document */

body {
    margin: 0;
    background: #fff;
}
img {
	vertical-align:bottom;
}
#wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
    #wrapper > img,
    #wrapper > a img {
        width: 100%;
    }
.youtube {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}
    .youtube.first {
        background: #fffef9;
    }
    .youtube iframe {
        position: absolute;
        top: 0;
        right: 0;
        width: 100% !important;
        height: 100% !important;
    }
    .youtube.first iframe {
        width: 85% !important;
        height: 85% !important;
        left: 0;
        right: 0;
        margin: auto;
    }
.siema img {
    width: 100%;;
}
.flexBox {
    display: flex;
    width: 100%;
}
    .flexBox div img {
        width: 100%;
    }
.when {
    background-color: black;
    color: #fff;
}

.formBox {
    background: #bfa99a;
    padding: 3em;
    font-family: "Gilda Display", serif;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}
.formBox label {
    margin-right: 1em;
    display: inline-block;
}
.formBox input,
.formBox select,
.formBox textarea {
    padding: 0.5em;
    border-radius: 5px;
}
.formBox input[type="text"],
.formBox textarea {
    max-width: 500px;
    width: 100%;
}
.formBox .submit {
    text-align: center;
}
.formBox input[type="submit"] {
    width: 50%;
    margin: 2em auto;
    padding: 1em;
}
.formBox h2, .formBox h3, .formBox h4, .formBox p {
    color: #fff;
}
.formBox h2 {
    text-align: center;
}
.formBox h3 {
    margin-top: 1.6em;
    font-size: 1.1em;
}
.formBox h4 {
    margin-top: 1.6em;
}
.formBox p {
    font-size: 1.2rem;
}
.formBox p.attention, span.attention {
    color: #db0000;
}
.formBox p.attention {
    text-align: center;
    font-weight: bold;
    margin-bottom: 2em;
}
.formBox p span.attention {
    font-size: 1.6rem;
    font-weight: bold;
}

footer {
    margin-top: 0;
    padding: 0;
    background: #000;
    position: relative;
}
footer p {
    text-align: center;
    font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
    padding-bottom: 150px;
}

.fixed {
    position: fixed;
    width: 100%;
	max-width: 1000px;
    bottom: 0;
    left: 0;
	right: 0;
	margin: auto;
	background-color: rgba( 255, 255, 255, 0.55 );
	text-align: center;
	display: none;
    z-index: 1;
}
	.fixed a,
	.fixed img {
		max-width: 480px;
		margin: -10px 0;
	}

@media screen and (max-width: 767px) {
    .fixed a,
	.fixed img {
		width: 78%;
	}
    footer p {
        padding-bottom: 23vw;
    }
}