

div.contents {
    border-radius: 5px;
    font-size: 15px;
    line-height: 20px;
    margin: 0 auto;
    max-width: 1200px;
    width: 90%;
}

div.main h1.title {
    font-size: 30px;
    line-height: 1.5em;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px 0;
    width: 90%;
}

div.main p.text {
    margin-bottom: 30px;
}

form.ksp_form {
    border: solid 1px #ddd;
    border-radius: 5px;
    margin: 0 auto;
    padding: 5% 0;
    width: 90%;
    width: 100%;
}

em {
    color: red;
    display: block;
}


/*   style_reset   */
form.ksp_form select,
form.ksp_form button,
form.ksp_form input[type="submit"],
form.ksp_form input[type="button"]
{
    appearance: none;
    -webkit-appearance: none;
}


form.ksp_form input[type="text"],
form.ksp_form input[type="password"],
form.ksp_form select,
form.ksp_form textarea
{
    border: solid 1px #ddd;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    outline: none;
    padding: 15px;
    width: 100%;
}

form.ksp_form input[type="text"]::placeholder,
form.ksp_form input[type="password"]::placeholder
{
    font-size: 15px;
}



form.ksp_form label {
    font-size: 16px;
}



/*   checkbox_style   */

label.checkwrap {
    cursor: pointer;
    display: inline-block;
    margin-right: 0;
    text-align: left;
    width: 100%;
}

form.ksp_form input[type="checkbox"]{
    display: none;
}

label.checkwrap .checkmark {
    background: #fff;
    border: solid 1px #ccc;
    border-radius: 2px;
    box-sizing: border-box;
    height: 19px;
    left: 0;
    position: absolute;
    top: 5px;
    width: 19px;
}

label.checkwrap .checkmark:after {
    border: 2px solid #FFF;
    border-width: 0 2px 2px 0;
    content: "";
    display: none;
    height: 10px;
    left: 6px;
    top: 2px;
    width: 5px;
    position: absolute;
    transform: rotate(45deg);
}

label.checkwrap input:checked + span.txt .checkmark {
    background-color: #26a69a;
    border: none;
}

label.checkwrap input:checked + span.txt .checkmark:after {
    display: block;
}

label.checkwrap span.txt {
    display: inline-block;
    padding-left: 30px;
    position: relative;
}

/*   checkbox ここまで   */




/*   radio_style   */

label.radiowrap {
    cursor: pointer;
    display: inline-block;
    margin-right: 15px;
    padding-left: 30px;
    position: relative;
}

label.radiowrap input[type="radio"]{
    display: none;
}

label.radiowrap .radiomark {
    background: #e0e0e0;
    border-radius: 50%;
    display: inline-block;
    height: 22px;
    left: 0;
    position: absolute;
    top: 3px;
    width: 22px;
}

label.radiowrap input + .radiomark:after {
    background-color: #26a69a;
    border-radius: 50%;
    content: "";
    display: none;
    height: 13px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 13px;
}

label.radiowrap input:checked + .radiomark:after {
    display: block;
}

/*   radio ここまで   */




/*   select   */

form.ksp_form span.select_wrap {
    display: inline-block;
    position: relative;
    width: 100%;
}

form.ksp_form span.select_wrap span.icon {
    display: block;
    height: 17px;
    pointer-events: none;
    position: absolute;
    right: 10px;
    bottom: 15px;
    width: 17px;
}

form.ksp_form span.select_wrap span.icon:before,
form.ksp_form span.select_wrap span.icon:after
{
    background-color: #444;
    border-radius: 1px;
    content: "";
    display: inline-block;
    height: 2px;
    position: absolute;
    top: 50%;
    width: 8px;
}

form.ksp_form span.select_wrap span.icon:before {
    left: 2px;
    transform: rotate(45deg);
}

form.ksp_form span.select_wrap span.icon:after{
    right: 2px;
    transform: rotate(-45deg);
}

form.ksp_form select {
    border-radius: 0;
    padding-right: 37px;
}

/*   select ここまで   */


form.ksp_form textarea {
    color: #444;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    resize: vertical;
}




form.ksp_form > * {
    margin: 0 auto;
    max-width: 860px;
    width: 90%;
}

form.ksp_form dl {
    display: flex;
    margin: 0 auto 35px!important;
}

form.ksp_form dt {
    font-weight: bold;
    width: 300px;
}

form.ksp_form dl.input_box dt {
    padding-top: 15px;
}

form.ksp_form dd {
    flex-grow: 1;
    margin-left: 0;
    width: 100%;
}

form.ksp_form dd.tcol > div {
    display: flex;
    justify-content: space-between;
}

form.ksp_form dd.tcol input {
    width: calc(50% - 5px);
}

form.ksp_form span.must {
    background-color: #ee0101;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.5em;
    margin-left: 15px;
    padding: 0 5px;
}




dd.birthday > div {
    display: flex;
}

dd.birthday > div > div {
    margin-right: 15px;
    width: 100%;
}

dd.birthday > div > div:last-of-type {
    margin-right: 0;
}

form.ksp_form dd.birthday input {
    margin-right: 10px;
    width: calc(100% - 25px - 1em);
}

form.ksp_form dd.area span.select_wrap{
    margin-right: 15px;
    width: auto;
}





form.ksp_form dl.both,
form.ksp_form dl.supporters
{
    display: none;
}

form.ksp_form dl.both.disp,
form.ksp_form dl.supporters.disp
{
    display: flex;
}
.flex-center {
    align-items: center;
}


div.kiyaku {
    background-color: #f7f7f7;
    box-sizing: border-box;
    height: 300px;
    line-height: 24px;
    overflow-y: scroll;
    padding: 30px;
}

div.kiyaku::-webkit-scrollbar {
    background-color: #f3f3f3;
    border-left: 1px solid #ddd;
    width: 6px;
}

div.kiyaku::-webkit-scrollbar-thumb {
    background-color: #666;
    cursor: pointer;
}

div.kiyaku div.content {
    margin-bottom: 20px;
}

div.kiyaku h2 {
    color: #26a69a;
    font-size: 22px;
    margin-bottom: 0.75em;
}

div.kiyaku h5 {
    border-left: solid 5px #26a69a;
    font-size: 17px;
    padding-left: 8px;
    margin: 10px 0;
}

div.kiyaku h6 {
    font-size: 15px;
}

div.kiyaku ul {
    list-style-type: decimal;
    margin: 0;
    padding-left: 22px;
}

div.kiyaku ol {
    list-style-type: decimal-leading-zero;
    padding-left: 44px;
}

div.kiyaku li,
div.kiyaku p{
    margin: 10px 0;
}

label.kiyaku_check {
    margin-top: 7px;
    margin: 7px auto 0 !important;
}



div.submit {
    margin: 37px auto 20px;
    max-width: 100%;
    position: relative;
    text-align: center;
    width: 280px;
}

div.submit:after {
    border: solid 8px transparent;
    border-left: solid 10px #fff;
    content: "";
    pointer-events: none;
    position :absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/*div.submit input,*/
div.submit button
{
    background-color: #26a69a;
    border: none;
    border-radius: 100px;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-size: 17px;
    font-weight: bold;
    padding: 15px 15px;
    width: 100%;
}





/*   validation   */

.formError {
    opacity: 1!important;
    position: relative!important;
    top: inherit!important;
    left: inherit!important;
    margin-bottom: 5px!important;
    margin-top: 0!important;
    z-index: 0!important;
}


.formError .formErrorContent {
    border: none;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    line-height: 1.8em;
    padding: 5px!important;
}

.formError .formErrorArrow {
    display: none;
}



/*   resposive   */

.sp_style div.main h1.title {
    font-size: 24px;
}

.sp_style form.ksp_form dl.both,
.sp_style form.ksp_form dl.supporters
{
    display: none;
}

.sp_style form.ksp_form dl,
.sp_style form.ksp_form dl.both.disp,
.sp_style form.ksp_form dl.supporters.disp
{
    display: block;
}

.sp_style form.ksp_form dt {
    margin-bottom: 7px;
    width: 100%;
}

.sp_style form.ksp_form dd.area span.select_wrap {
    margin-bottom: 10px;
    margin-right: 0;
    width: 100%;
}

.sp_style form.ksp_form dd.area select {
    width: 100%;
}

.sp_style form.ksp_form dd.tcol > div {
    flex-direction: column;
}

.sp_style form.ksp_form dd.tcol > div input {
    margin-bottom: 10px;
    width: 100%;
}

.sp_style dd.birthday > div {
    flex-direction: column;
}

.sp_style dd.birthday > div > div {
    margin-bottom: 10px;
    margin-right: 0;
}

.sp_style label.radiowrap {
    margin-bottom: 10px;
}

.sp_style div.kiyaku {
    padding: 20px;
}

.sp_style div.kiyaku h2 {
    font-size: 18px;
}

.sp_style div.kiyaku h5,
.sp_style div.kiyaku h6,
.sp_style div.kiyaku p {
    font-size: 14px;
}





@media (hover: hover) and (pointer: fine) {
    /*div.submit input:hover,*/
    div.submit button:hover
    {
        color: #ffeb3b;
    }

    div.submit:hover:after {
        border-left: solid 10px #ffeb3b;
    }
}

.lead {
    font-size: 15px;
    margin: 0 auto;
    max-width: 1200px;
    width: 90%;
}

form.ksp_form textarea.bikou {
  resize: vertical;
}