html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    min-height: 100%;
    background: #fdfef9;
}

body {
    margin: 0 auto;
    font-size: 16px;
    width: 100%;
    min-height: 100%;
background:url(../img/bg.jpg)no-repeat top center;
background-size: cover;
background-attachment: fixed;
    color: #000;
   font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", HelveticaNeue, "Segoe UI", "游ゴシック体", YuGothic, "Yu Gothic M", "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}


a {
    color: #0066b9;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.contents .privacypolicy a {
    text-decoration: underline;
}



p {
    margin: 0;
    padding: 0;
}

.res {
    display: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}

* {
    box-sizing: border-box;
}

img {
    vertical-align: bottom;
}

textarea {
    font-family: sans-serif;
    width: 100%;
}

.dl_table {
    display: table;
    width: 100%;
}

.dl_table > dl > dt,
.dl_table > dl > dd {
    display: table-cell;
}

#wrapper {
    width: 100%;
    min-height: 100%;
    text-align: center;
    margin: 0 auto;

}


#wrapper.bg{
background: rgba(255, 255, 255, 0.25);
}




.contents {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;


}

#header {
    width: 100%;
    text-align: center;
    padding: 50px 0 ;
    margin: 0;


}




h1 {
    margin: 0 auto;
    padding: 0;
}

#header h2 {
    margin: 1em auto;
    padding: 0;
}









#lead{
    width: 100%;
    max-width: 800px;
    margin: 0 auto 50px;
    background: url(../img/texture.jpg)no-repeat top center;
    background-size: cover;
    padding: 1em;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    text-align: left;
    font-size: 100%;
}


#lead ul {
    padding: 0 0 0 1em;
    margin: 1em auto 0;
    font-size: 90%;
    color: #0066b9;
    font-weight: bold;
}

#lead ul li {
    margin-bottom: 5px;
    list-style-type: none;
}

#lead ul li:before {
    content: '※';
    /* ←ここにリストマーカーにしたい文字列を設定 */
    margin-left: -1em;
}

#lead ul li:last-child {
    margin: 0;
}

#lead >.caution {
    padding: 0 0 0 1em;
    margin: 1em auto 0;
    font-size: 90%;
    color: #000;
    font-weight: normal;
}

#lead p{
display: block;
margin: 1em auto 0.5em;
padding: 5px 10px;
font-weight: bold;
background: #000;
color: #fff;
border-bottom: 3px solid #ffd900;

}

#lead p:first-of-type{
margin: 0 auto 0.5em;
}


#form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 50px;
    background: url(../img/texture.jpg)no-repeat top center;
    background-size: cover;
    padding: 0;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);

}

.contents .form_table {
    max-width: 600px;
    margin: 0 auto 30px;
}

#form_title {
    width: 100%;
    padding: 1em;
    margin: 0 auto;
    vertical-align: top;


}

#form_title img {
    max-width: 300px;
    height: auto;
    margin: 0 auto 1em;
}

.title {
    font-weight: bold;
    text-align: center;
    padding: 0.5em;
    margin: 0 auto;
    color: #fff;
background: #000;
    font-size: 130%;
    line-height: 1.2;
     letter-spacing: 2px;
     border-bottom: 3px solid #ffd900;

}

#poster {
    width: 80%;
    margin: 0 auto;
    padding:0;
max-width: 600px;
color: #fff;
background: rgba(2, 26, 42, 0.6);

}



#poster .message{
margin: 0 auto;
padding: 1em;


}

#poster p {

    margin: 0 auto 1em;

}

#poster .comp_message {
    font-size: 80%;
}

#poster .back{
display: inline-block;
background: #fff;
padding: 0 10px;
margin: 0 auto;
border-radius: 3px;
color: #000;
font-size: 90%;
}

#link {
    background: #000;
    padding: 50px 0;
}

#link {
    background: #000;
    padding: 50px 0;
}

.btn_base {
    display: inline-block;
    margin: 0 auto;
    border: 0;
    font-size: 20px;
    width: 100%;
    max-width: 300px;
    height: 50px;
    margin: 10px;
    text-align: center;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-user-select: none;
    cursor: default;
}

.btn_base:hover {
    cursor: pointer;
}

.btn_animation {
    color: #cb2020;
    background-color: #fff;
    padding: 10px;
    transition: all 0.1s ease;
    -webkit-transition: all 0.1s ease;
}

.btn_animation:hover {
    color: #cb2020;
    background-color: #fff;
    animation: 0.1s step-end 0 2;
    -webkit-animation: 0.1s step-end 0 2;
    -moz-animation: 0.1s step-end 0 2;
    transition: all 0.2s ease 0.2s;
    -webkit-transition: all 0.2s ease 0.2s;
    -moz-transition: all 0.2s ease 0.2s;
}

.rst_animation {
    color: #fff;
    background-color: #555;
    border: 2px solid #555;
    padding: 10px;
    transition: all 0.1s ease;
    -webkit-transition: all 0.1s ease;
}

.rst_animation:hover {
    color: #f00;
    background-color: #fff;
    border: 2px solid #f00;
    animation: 0.1s step-end 0 2;
    -webkit-animation: 0.1s step-end 0 2;
    -moz-animation: 0.1s step-end 0 2;
    transition: all 0.2s ease 0.2s;
    -webkit-transition: all 0.2s ease 0.2s;
    -moz-transition: all 0.2s ease 0.2s;
}



#footer {
    padding: 30px 0 0;
    width: 100%;
    text-align: center;


}



#footer .copyright {
    width: 100%;
    padding: 0;

}

#footer .copyright img{

margin: 0 auto;
padding: 0 0 1em;
}

#footer  small {
    margin:0 auto;
    padding: 0 0 1em 0;
    font-size: 70%;
    display: block;
    color: #fff;

}


.contents .form_table {
    max-width: 650px;
    margin: 0 auto 30px;
}

.contents .form_table .dl_table > dl > dt,
.contents .form_table .dl_table > dl > dd {

    padding: 20px 0;
}

.contents .form_table .dl_table > dl > dd {
    text-align: left;
}

.contents .form_table .dl_table > dl > dt {
    text-align: right;
    padding: 10px;
    width: 300px;


}

.contents .form_table .dl_table > dl > dt:after {
    content: "＊";
    color: #0066b9;
}

.check{
color: #0066b9;
}

.contents .form_table .dl_table > dl > dt.non:after {
    content: "";
}


.contents .form_table .dl_table > dl > dt.none:after {
    content: " ";
    margin-right: 1em;
}

.contents .form_table .dl_table > dl > dd input[type="text"],
.contents .form_table .dl_table > dl > dd select {
    width: 200px;
    border: 1px solid #000;
    font-size: 14px;
    padding: 5px 10px;
    color: #000;
    background: #fff;
}





.contents .form_table .dl_table > dl > dd input[type="message"],
.contents .form_table .dl_table > dl > dd select {
    width: 200px;
    border-top-color: 1px solid #000;
    border: 1px solid #000;
    font-size: 14px;
    padding: 5px 10px;
}





.contents .form_table .dl_table > dl > dd input[type="text"] {
    -webkit-appearance: none;
}

.contents .form_table .dl_table > dl > dd input[type="text"].zip,
.contents .form_table .dl_table > dl > dd input[type="text"].age {
    width: 100px;
    margin-right: 10px;
}

.contents .form_table .dl_table > dl > dd .zip_btn {
    background: #ffd900;
    color: #000;
    border: 1px solid #000;
    padding: 4px 10px;
    cursor: pointer;
}

.contents .form_table .dl_table > dl > dd.radio {
    position: relative;
}

.contents .form_table .dl_table > dl > dd.radio input[type="radio"] {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 10;
}

.contents .form_table .dl_table > dl > dd.radio label {
    position: absolute;
    top: 20px;
    left: 3px;
    cursor: pointer;
    vertical-align: top;
    padding-left: 20px;
    margin-right: 1em;
    z-index: 20;
    width: 4em;
}

.contents .form_table .dl_table > dl > dd.radio label.radio_fem {
    left: 80px;
}

.contents .form_table .dl_table > dl > dd.radio label:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFF;
    border: 1px solid #000;
    vertical-align: top;
}

.contents .form_table .dl_table > dl > dd.radio input[type="radio"]:checked + label:after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    background: #0066b9;
}

.contents .form_table .dl_table > dl > dd.agree {
    position: relative;
}

.contents .form_table .dl_table > dl > dd .ex {
    color: #000;
    font-size: 80%;
}

.contents .form_table .companion_input {
    text-align: center;
    font-weight: bold;
}


.contents .thanks {
    font-size: 18px;
    text-align: center;
    line-height: 2.5em;
}

.contents .privacypolicy {
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    font-size: 90%;
    text-align: left;
    box-sizing: border-box;
    border: 1px solid #000;
    color: #000;
}

.contents .privacypolicy h3 {
    text-align: center;
    font-size: 18px;
    color: #000;
    border-bottom: 1px solid #000;
    padding: 0 0 0.5em;
}

.contents .privacypolicy ul {
    padding-left: 2em;
}

.contents .privacypolicy ul li {
    margin-bottom: 10px;
    list-style-type: none;
}

.contents .privacypolicy ul li:before {
    content: '◎';
    /* ←ここにリストマーカーにしたい文字列を設定 */
    margin-left: -1em;
}

.contents .privacypolicy ul .topic:before {
    content: '・';
    /* ←ここにリストマーカーにしたい文字列を設定 */
    margin-left: -0.5em;
}

.contents .privacypolicy p {
    text-align: center;
    margin: 1.5em auto 0;
    padding: 1em 0 0;
       border-top: 1px solid #000;
}

.hint-message,
.confirm-message {
    margin: 1em auto;
    line-height: 1.5;
}

.confirm-message {
    color: #000;
}

.autoConfirmVal {
    color: #000;
}



textarea {
    border: 1px solid #000;
    color: #000;
}


input[type="submit"] {
    display: block;
    margin: 0 auto;
    border: 1px solid #000;
    font-size: 28px;
    width: 100%;
    max-width: 400px;
    height: 70px;
    text-align: center;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-user-select: none;
    cursor: pointer;
    background-color: #ffd900;
    color: #000;
    text-decoration: none;
}

input[type="submit"]:hover {
    color: #ffd900;
    background-color: #000;
    padding: 14px;
    transition: all 0.1s ease;
    -webkit-transition: all 0.1s ease;
}

input[type="submit"][disabled] {
    background-color: #ccc;
    color: #fff;
    cursor: default;
}

input[type="submit"][disabled]:hover {
    color: #fff;
    cursor: default;
}

.sub_p {
    font-size: 90%;
}


@media screen and (max-width:1024px) {
body{
        background: none;
    }

    body::before {
  background:url('../img/sp_bg02.jpg') no-repeat top;
background-size: cover;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  z-index: -1;
}



#header img{
width: 90%;
max-width: 500px
}


}


@media screen and (max-width:768px) {





    #wrapper{
        background: none;
    }

    #wrapper::before {
  background:url('../img/moon.png') no-repeat top 10px center;
  background-size: 70%;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  z-index: -1;
}

#header{
padding: 60px 0 1em;
}


#header h2{
margin: 0.2em auto 1em;
}




    .title img {
        width: 100%;
        max-width: 200px;
    }

    #form_title .caution {
        width: 100%;
        margin: 1.5em auto 2em;
    }


    #poster {
        padding: 0;
        width: 100%;
    }

    .send_message {
        font-size: 85%;
    }


    img {
        max-width: 90%;
    }
    .contents {
        padding: 0 10px;
    }



    #form_title img {
        max-width: 50vw;
    }
    #poster img {
        max-width: 90%;
    }



    .btn_base {
        font-size: 20px;
        height: 50px;
        margin: 0 0 15px;
    }
    .btn_animation {
        padding: 10px;
    }
    .contents .form_table .dl_table {
        display: block;
        width: 100%;
    }
    .contents .form_table .dl_table > dl {
        display: block;
        width: 100%;
        margin: 0;
    }
    .contents .form_table .dl_table > dl > dt,
    .contents .form_table .dl_table > dl > dd {
        display: block;
        padding: 15px 0;
        margin: 0;
        width: 100%;
        text-align: left;
    }
    .contents .form_table .dl_table > dl > dt {
        padding: 0;
        font-size: 16px;
    }
    .contents .form_table .dl_table > dl > dd {
        padding: 5px 0 15px;
    }
    .contents .form_table .dl_table > dl > dd input[type="text"],
    .contents .form_table .dl_table > dl > dd select {
        width: 100%;
        font-size: 16px;
    }
    .contents .form_table .dl_table > dl > dd input[type="text"].zip {
        margin-right: 0;
    }
    .contents .form_table .dl_table > dl > dd.radio {
        min-height: 60px;
    }
    .contents .form_table .dl_table > dl > dd.radio input[type="radio"] {
        left: 3px;
    }
    .contents .form_table .dl_table > dl > dd.radio label {
        padding-left: 30px;
    }
    .contents .form_table .dl_table > dl > dd.radio label:before {
        width: 20px;
        height: 20px;
    }
    .contents .form_table .dl_table > dl > dd.radio input[type="radio"]:checked + label:after {
        width: 16px;
        height: 16px;
    }
    .contents .form_table .dl_table > dl > dd .zip_btn {
        font-size: 14px;
        margin: 0.5em 0 0;
    }

    #header .contents img {
        width: 100%;
    }

    #form_title {
        width: 100%;

        border-bottom: none;
        border-right: none;
        border-left: none;
    }



    .contents .privacypolicy {
        padding: 1em 0.5em;
        margin: 1.5em auto 0.5em;
    }

    .contents .privacypolicy ul{
        padding-left: 1em;
    }

    .res {
        display: inline;
    }
#footer .copyright img{
max-width: 250px
}

#footer small{
color: #000;
    text-shadow: 1px 1px 0 #ffd900;
}

}

@media screen and (max-width:320px) {
#poster .comp_message{
font-size: 75%;
}
}



a:link,
a:visited {
    text-decoration: none;
}

a:hover,
a:active {
    opacity: 0.7;
}

.pin {
    color: #ea6da4;
}

.red {
    color: #c50018;
}

.yel {
    color: #fff000;
}




input[type="submit"][disabled] {
    background-color: #ccc;
    color: #fff;
    cursor: default;
}

input[type="submit"][disabled]:hover {
    color: #fff;
    cursor: default;
}
