@charset "utf-8";

/* common
-----------------------------------------------------------------*/
#contents {
    padding: 100px 0 0;
}

.notice li {
    padding-left: 1em;
    text-indent: -1em;
}

/*メモ☆.infoは受付フォームにはない（kam) */
.info .notice {
    margin-top: 10px;
}

p {
    margin-bottom: 0;
}

/*　メモ☆申込フォームにはない（kam）*/
h2 {
    padding: 0 20px;
}

#contents a {
    color: #1877F2;
}

/* メモ☆申込フォームにはない（kam）*/
#contactbox {
    display: none;
}

.must {
    overflow: hidden;
}

.must span {
    color: #f00;
    padding: 0 5px;
    float: right;
    font-weight: bold;
}

#main .namebox {
    width: 30em;
}

/*　メモ☆申込フォームにはない（kam）　*/
span.must {
    background-color: #f00;
    color: #fff;
    padding: 0 5px;
    margin-left: 5px;
}

.form {
    border-collapse: collapse;
    border: 1px solid #ccc;
    font-size: inherit;
    margin-top: 15px;
}

.form {
    width: 100%;
}


.form tr {
    border-bottom: 1px solid #ccc;
}

.form th {
    box-sizing: border-box;
    padding: 8px 20px 8px 10px;
    width: 205px;
}

.form td {
    box-sizing: border-box;
    padding: 8px 10px 8px 10px;
    width: 530px;
    height: 3.5em;
}

.form .course_price {
    width: 145px;
    padding: 0px 10px 0px 10px;
    height: auto;
}

.form .liberal-t {
    padding: 1.5em 0.8em;
    margin: 1em 0;
}

.form table table label {
    display: block;
    text-indent: -2rem;
    padding-left: 2rem;
}

.form .liberal-t,
.form .liberal-t th,
.form .liberal-t td {
    border: 1px solid #888;
    border-collapse: collapse;
}

.form .liberal-t th {
    text-align: center;
}

.form .liberal-t th:first-child {
    width: 55%;
}

.form .liberal-t tr .td-l {
    width: 519px;
    height: 3em;
}

.form .indiv .liberal-t tr .td-l {
    text-indent: -1.5em;
    padding: 1em 1.8em;
}

.form .liberal-t tr .td-s {
    width: 150px;
    height: 2em;
}

.form .liberal-t tr .td-m {
    width: 150px;
    height: 2em;
}

input[type=text] {
    box-sizing: border-box;
}

.title {
    display: block;
    box-sizing: border-box;
    font-weight: bold;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

th,
td {
    padding-left: 1rem;
}

.align-top {
    vertical-align: top;
}

.form .earch_td {
    text-indent: -1.5em;
    padding: 0px 10px 0rem 2rem;
    height: 0em;
}

input[type="submit"], .button_area input[type="button"] {
    display: block;
    width: 20em;
    padding: 1em;
    background-color: #4D639E;
    border: none;
    color: #fff;

}

.rap3 label:after {
    content: "";
    display: block;
    margin: 0 0 0.5em;
}

.rap4 td {
    height: 2em;
    width: 300px;
    padding: 0px;
}

.button_area {
    display: flex;
    margin: auto;
    padding-top: 1rem;
    justify-content: center;
}

.button_area input + input {
    margin-left: 2rem;
}

.check {
    text-align: center;
}

.check input[type=submit] {
    display: inline-block;
}

#contents #btn_prev_page {
    display: none;
}

#contents #btn_next_page {
    display: none;
}

#contents .btn_group {
    margin: 1.5em 0em 2.5em;
    ;
}

#contents .btn_group a {
    padding: 1em;
    background-color: crimson;
    color: #fff;
    border-radius: 5px;
}

#contents .btn_group a :hover {
    background-color: darksalmon;
}

.caution {
    font-size: 90%;
    text-indent: -1em;
    padding: 1em 2.5em;
}

.caution_01 {
    padding: 1em;
    text-align: center;
    font-weight: bold;
    font-size: 110%;
}

.zip {
    width: 8em;
}


.add {
    padding: 8px 10px 8px 10px !important;
    width: 5em !important;
}

.error {
    border: 1px solid #f00;
    padding: 1rem 1.5rem;
    margin: 1rem auto;
}

.error li {
    color: #f00;
}

.error li:not(:first-child) {
    margin-top: 8px;
}


.input-year {
    margin-right: 2px;
    text-align: right;
    width: 5em;
}

.input-day {
    margin-right: 2px;
    margin-left: 5px;
    text-align: right;
    width: 3em;
    height: 2em;
}

textarea {
    box-sizing: border-box;
    width: 100%;
    color: #555;
}

select {
    height: 2em;
}

.div-tab span {
    display: inline-block;
    min-width: 4em;
}

.div-tab input {
    margin: 10px 10px 0 5px;
}

.div-tab input.mini {
    width: 5em;
}

.div-tab,
.div-check {
    display: none;
}

#clicked {
    color: #3a87ad;
}

input[type=checkbox],
input[type=radio] {
    vertical-align: middle;
}


/*申込フォームにはなし*/
.reasoncheck1 {
    display: block;
    width: 15em;
}

.reasoncheck2 {
    display: block;
}

td .kome-link {
    margin-left: 3rem;
}

/* CSS for CodePen */

.sec {
    width: 1200px;
}

footer {
    margin: auto;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    background-color: #efefe5;
}

/*モーダル・ヘルプコメント*/
.modal_wrapper {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 1100;
}

.modal_window {
    width: 60vw;
    background-color: white;
    border-radius: 0.5rem;
    padding-bottom: 2rem;
}

.modal_window .paylistbox {
    padding: 2em;
}

.modal_window .paylist {
    margin: 2em 5.5em -0.5em;
    font-size: 0.8em;
    border-bottom: 1px solid;
}

.modal_header {
    text-align: right;
    padding-right: 0.5rem;
    padding-top: 0.3rem;
}

.modal_header a {
    display: flex;
    justify-content: end;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    width: 5rem;
    margin: 0 0 0 auto;
}

.modal_header a:visited {
    color: #0000FF;
}

.modal_title {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 0.5em;
}

.modal_contents {
    width: 85%;
    margin: auto;
}

.modal_window iframe {
    max-height: 60vh;
    overflow-y: scroll;
}

/*.modal_contents h3{
    padding: 0.3em;
    border: 3px solid #4D639E;
    font-weight: bold;
    font-size: 1.3em;
    margin: 1em 0;
}
*/
.modal_contents h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #4D639E;
}

.modal_contents h3.red {
    border: 3px solid red;
    color: red;
}

.modal_contents li {
    text-indent: -1em;
    padding-left: 2em;
    margin: 0.5em 0em;
}

#flow1,
#flow2,
#flow3,
#flow4,
#flow5,
#flow7 {
    width: 85%;
    margin: auto;
}

#flow1 h3,
#flow2 h3,
#flow3 h3,
#flow4 h3,
#flow5 h3,
#flow7 h3{
    font-size: 1.1rem;
    font-weight: bold;
    color: #4D639E;
    padding-top: 0.5em;
}
#flow7 {
    margin-top: 2em;
}

.flow_arrow {
    color: #4D639E;
    font-weight: bold;
    padding: 0.3rem;
}

.flow_arrow i {
    vertical-align: middle;
}

.help_trigger {
    position: relative;
}

.help_comment {
    display: table-cell;
    position: absolute;
    padding: 0.5rem;
    background-color: aliceblue;
    border-radius: 0.3rem;
    top: 0;
    left: 0;
    max-width: 300px;
}

.box3 table {
    border-bottom: 1px solid #d7dce5;
    border-collapse: collapse;
    border-spacing: 0;
}

.box3 th {
    width: 20%;
    border: 1px solid #d7dce5;
    background: #f6f6f6;
    padding: 10px;
    border-bottom: none;
}

.box3 td {
    border: 1px solid #d7dce5;
    padding: 10px;
    border-bottom: none;
}

.form .sp,
.sp_right {
    display: none;
}

.pc,
.form .pc {
    /*display: block;*/
    border: none;
}

/*5.21下記にて応急処置*/
#form_2,
#form_3 {
    margin: 0;
    border-top: none;
}
#form_3 td{
    width: 790px;
}
#form_2 .rap3 {
    width: 790px;
}
.step {
    display: none;
}


input[type="submit"], input[type="button"] {
    -webkit-appearance: none;
}
html {
    -webkit-text-size-adjust: 100%;
}

/*ここからsp用*/
@media screen and (max-width: 480px) {
    /*body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    }*/



    .form .sp {
        display: block;
    }

    .pc,
    .form .pc {
        display: none;
        border: none;
    }

    .sp_right {
        display: block;
        float: right;
        padding-right: 1em;
    }

    .form .sp #header .subnavi {
        display: none;
    }

    #header h1 img {
        margin-right: 0;
        margin: 0 0.5em 1.5em;
        width: 45%;
    }

    table {
        width: 90vw;
    }

    table th,
    table td {
        display: block;
    }

    .form th {
        width: 95vw;
    }

    .form td {
        width: 95vw;
        height: 100%;
    }


    .form .liberal-t th {
        border: none;
        border-collapse: collapse;
    }

    .form .liberal-t tr .td-l {
        width: 95vw;
        height: auto;
        border: none;
    }

    .form .liberal-t td {
        border: none;
    }

    .form .earch_td {
        height: auto;
    }

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

    .button_area {
        flex-flow: row;
        flex-wrap: wrap;
    }

    .button_area input[type="button"], .button_area input[type="submit"] {
        font-size: 100%;
        color: #fff;
        display: block;
        background-color: #4D639E;
        border: none;
        border-radius: 5px;
        width: 12em;
        padding: 1em;
        margin: auto;
    }

    .topicpath {
        display: none;
    }

    .maintitle {
        width: 100vw;
        margin: 1rem 0 1rem;
        box-sizing: border-box;
    }

    .notice {
        width: 95vw;
        margin: auto;
    }

    .notice li {
        width: 90vw;
    }

    .notice .repeat {
        width: 20em;
        margin: 10px;
    }

    .notice input[type="submit"] {
        display: inline-block;
        width: 8em;
        padding: 0.5em;
        margin-left: 10px;
        background-color: orangered;
    }

    input {
        padding: 0.3em;
    }

    #contents {
        width: 100vw;
        font-size: 100%;
    }

    #contents #next {
        /*display: none;*/
    }

    .sec {
        width: 100vw;
    }

    #main {
        width: 100vw;
    }

    #main .namebox {
        width: 90%;
    }

    .input-day {
        width: 5em;
    }

    .form .appli_no {
        width: 3em;
    }

    .modal_window {
        width: 90%;
    }

    /*5.21下記追加*/
    #form_2,
    #form_3 {
        border-top: 1px solid #ccc;
    }

    textarea {
        width: 95vw;
    }
    ol.step {
        display: block;
        margin: 2em;
        counter-reset: step;
        list-style-type: none;
    }
    ol.step li {
        position: relative;
        line-height: 2.5;
    }
    ol.step li.step_active {
        color: cadetblue;
        font-weight: bold;
    }
    ol.step li::before {
        position: absolute;
        top: 0.3em;
        left: -2em;
        counter-increment: step;
        content: counter(step);
        padding: 0 0.2em 0 0.2em;
        background: #4D639E;
        color: white;
        font-weight: bold;
        border-radius: 50%;
        width: 20px;
        height: 25px;
        line-height: 25px;
        text-align: center;
    }
}
