html {
    font-size: 10px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    background-color: #FEFFDD;
}

body {
    font-size: 14px;
}

/* common */
h1 {
    letter-spacing: 4px;
}

a {
    text-decoration: none;
}

p {
    line-height: 2em;
    margin: 1em 0;
}


.w-half {
    width: 47%;
}

.t-l {
    text-align: left;
}

.t-r {
    text-align: right;
}

.t-c {
    text-align: center;
}

.mb10 {
    margin-bottom: 10px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}

.mb30 {
    margin-bottom: 30px !important;
}

.mb40 {
    margin-bottom: 40px !important;
}

.fs12 {
    font-size: 1.2em;
}

.fs14 {
    font-size: 1.4em;
}

.fs16 {
    font-size: 1.6em;
}

.btn,
button[type='submit'] {
    color: #fff;
    background-color: #FF890B;
    border: #FF890B 1px solid;
    border-radius: 100vh;
    padding: 17px 4em;
    display: inline-block;
    text-align: center;
}

button[type='submit'] {
    font-weight: bold;
    letter-spacing: 0.15em;
}

.btn-white {
    color: #FF890B;
    background-color: #fff;
    border: #FF890B 2px solid;
}

.btn-black {
    color: #000;
    background-color: #fff;
    border: #000 1px solid;
}

.btn-square {
    border-radius: 0;
}

.badge-r {
    background-color: #D93838;
    padding: 4px 10px;
    color: #fff;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 2px;
}

.gray {
    color: #a9a9a9;
}

.title-baloon {
    position: relative;
    display: inline-block;
    margin: 0.5em 0;
    padding: 0.2em 2em;
    min-width: 400px;
    max-width: 100%;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    background: #FF890B;
    border-radius: 50px;
    letter-spacing: 0.3em;
}

.title-baloon:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #FF890B;
}

.title-baloon p {
    margin: 0;
    padding: 0;
}

/* input[type="text"] {
    border: 0;
    padding: 10px;
    font-size: 1.3em;
    border: solid 1px #ccc;
    margin: 0 0 20px;
    width: 375px;
} */

/* form */
input,
select,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    box-sizing: border-box;
    max-width: 100%;
    color: inherit;
    font-family: inherit;
    font-size: 1.6rem;
    line-height: 1.6;
    border: 1px solid #CED1D2;
    background: #FFF;
    outline: none;
}

button {
    cursor: pointer;
}

input[type=text],
input[type=number],
input[type=tel],
input[type=email],
input[type=password] {
    padding: 1rem 1.2rem;
    width: 355px;
}

textarea {
    padding: 1rem 1.2rem;
    width: 100%;
    height: 6em;
}

input[type=text].is-error,
input[type=number].is-error,
input[type=tel].is-error,
input[type=email].is-error,
input[type=password].is-error,
select.is-error,
textarea.is-error {
    /* border: 1px solid #F58271; */
    background-color: #FEF2F0;
}

select {
    padding: 1rem 3.6rem 1rem 1.2rem;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNDAgOTAiPjxwYXRoIGZpbGw9IiUyMzAwMCIgZD0iTTE0MCwwbC03MCw5MC4wMDhMLTAuMDA3LDAiIC8+PC9zdmc+');
    background-repeat: no-repeat;
    background-position: calc(100% - 8px) center;
    background-size: 14px 8px;
}

select::-ms-expand {
    display: none;
}

select option {
    color: #000;
}

input::-ms-clear {
    visibility: hidden;
}

:-ms-input-placeholder {
    color: #9EA3A5;
}

::-webkit-input-placeholder {
    color: #9EA3A5;
}

input[type=checkbox],
input[type=radio] {
    display: none;
}

label {
    vertical-align: middle;
    margin: 0 0.75em 0 0;
}

.c-checkbox {
    display: inline-flex;
    align-items: center;
    text-align: left;
    line-height: 1.2;
    cursor: pointer;
}

.c-checkbox:before {
    content: "";
    display: block;
    margin-right: 0.6rem;
    border: 1px solid #CED1D2;
    border-radius: 3px;
    background: #F9FAFA;
    width: 22px;
    height: 22px;
    flex: 1 0 auto;
}

:checked+.c-checkbox {
    position: relative;
}

:checked+.c-checkbox:before {
    border: 1px solid #FF890B;
    background: #FF890B;
}

:checked+.c-checkbox:after {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20enable-background%3D%22new%200%200%2024%2016%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20clip-rule%3D%22evenodd%22%20d%3D%22m24%202.8-14.1%2013.2-9.9-9.3%202.6-2.8%207.2%206.8%2011.5-10.7z%22%20fill%3D%22%23fff%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 3px;
    top: 0;
    bottom: 0;
    margin: auto;
}


.c-radio {
    display: inline-flex;
    align-items: center;
    text-align: left;
    line-height: 1.2;
    cursor: pointer;
}

.c-radio:before {
    content: "";
    display: block;
    margin-right: 0.6rem;
    border: 1px solid #CED1D2;
    border-radius: 50%;
    background: #F9FAFA;
    width: 22px;
    height: 22px;
    flex: 1 0 auto;
}

:checked+.c-radio {
    position: relative;
}

:checked+.c-radio:after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #008EC1;
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    margin: auto;
}

/* header image */
.head-image {
    background-image: url(../img/bg_img01.jpg);
    background-repeat: repeat;
    text-align: center;
    padding-top: 5em;
}


.head-image img {
    margin-bottom: -25px;
}


/* steps */
.steps {
    margin: 2em 0 3em 0;
}

.steps ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding-left: 0;
}

.steps li,
.steps li.current {
    outline: none;
    position: relative;
    padding-bottom: 3px;
    padding-right: 63px;
    min-width: 120px;
}

.steps li:last-child {
    padding-right: 0;
}

.steps li::before {
    position: absolute;
    content: "";
    background: #B5B5B5;
    width: 125px;
    height: 3px;
    top: 25%;
    left: 55%;
}

.steps li:last-child::before {
    content: none;
}

.steps li a {
    text-decoration: none;
    outline: none;
}

.steps li a .title {
    text-align: center;
}

.steps li .step-text {
    color: #B5B5B5;
    font-weight: 600;
    padding-bottom: 8px;
    margin-top: .5em;
    letter-spacing: .2em;
}

.steps li .step-text.on {
    color: #000;
}

/* layout */

.form-container {
    background-image: url(../img/bg_main_loop.png);

}

.container {
    max-width: 1080px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: baseline;
    padding-top: .8rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.form-item-name {
    width: 30%;
}

.form-group {
    position: relative;
    padding-top: 2.5rem;
    margin-left: 1em;
    max-width: 100%;
}

.note {
    position: absolute;
    top: 10px;
    font-size: .8em;
}

#error-summary {
    color: #D93838;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
}

div.alert-box {
    border: 1px solid #D93838;
    padding: 1em 3em;
    color: #D93838;
    margin-bottom: 3em;
}

div.alert-box p.alert-title {
    font-size: 18px;
    letter-spacing: .2em;
    text-align: center;
    margin: 0.5em 0 0 0;
}

div.alert-box p.alert-title span {
    border-bottom: 1px solid #D93838;
}


div.alert-box p {
    font-size: 14px;

}

p.is-error {
    margin: .3em 0;
    color: #D93838;
}

.pos-r {
    position: absolute;
    right: 10px;
    top: 20px;
}

.zip-button {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background-color: #FF890B;
    border-radius: 50%;
    line-height: 30px;
    width: 30px;
    margin-left: 10px;
    text-align: center;
}

/* block */
.form-head {
    margin: 6em 0 2em 0;
    text-align: center;
}

.form-block {
    background-color: #fff;
    border-radius: 22px;
    max-width: 95%;
    margin: 0 auto;
    padding: 3em 0 5em 0;
}

.form-block form {
    width: 760px;
    margin: 0 auto;
}

.privacy-block {
    text-align: center;
    background-color: #FEFFED;
    border-radius: 17px;
    padding: 1em 2em 3em;
    margin: 2em 0;
}

.privacy-block .head {
    letter-spacing: 2px;
    font-size: 1.3em;
    font-weight: bold;
}

.privacy-block p {
    letter-spacing: 1px;
}

.submit-block {
    margin-top: 4em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.submit-block a {
    font-weight: bold;
    text-align: center;
}

.contact-block {
    background-color: #fff;
    border-radius: 22px;
    text-align: center;
    padding: 2em 0;
    margin: 2em auto;
    max-width: 95%;
}

.contact-block .head {
    font-size: 1.3em;
    font-weight: bold;
}

.contact-block a {
    margin: 0.5em 0 1em 0;
    font-weight: bolder;
}

#modal-button {
    position: relative;
}

.modal-icon {
    position: absolute;
    right: 20px;
}


/* footer image */
.foot-image {
    text-align: center;
}

.foot-image img {
    margin-bottom: -5px;
    margin-top: -125px;
}


/* プライバシーポリシー */
#modal-policy {
    max-width: 80%;
    display: none;
}

.privacyPolicy--head {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
}

.privacyPolicy--foot {
    margin-top: 40px;
    text-align: right;
}

/* Confirm */
.confirm-block {
    width: 760px;
    margin: 0 auto;
}

table.item-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 4em;
}

.item-title {
    width: 40%;
    min-width: 30%;
    border-right: 1px solid #000;
    padding: 1em;
    font-weight: bold;
    font-size: 16px;
}

.item-value {
    font-size: 15px;
    padding: 1em 1em 1em 3em;
}

.formItem-block {
    margin-left: 2em;
}

.confirm-block .title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 0;
}

.confirm-block .value {
    font-size: 15px;
    margin-top: 0;
}

.submit-block a {
    margin-right: 10px;
}

/* Complete */
.complete-block {
    margin: 0 auto;
    text-align: center;
    padding: 6em 0;
}

.complete-title {
    color: #000000;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 2px;
}

.complete-block a.btn {
    margin-top: 2em;
    font-size: 1.2em;
}

/* Mobile Media Query */
@media screen and (max-width: 559px) {
    .head-image {
        padding-top: 2em;
    }

    .head-image img {
        width: 90%;
        height: auto;
        margin-bottom: -40px;
    }

    .foot-image img {
        width: 100%;
        height: auto;
    }

    .foot-image img {
        margin-top: 0;
    }

    .title-baloon {
        max-width: 100%;
        min-width: auto;
        font-size: 17px;
    }


    h1 {
        font-size: 1.6em;
    }

    input[type=text],
    input[type=number],
    input[type=tel],
    input[type=email],
    input[type=password],
    select {
        padding: 1rem 1.2rem;
        width: 100% !important;
    }

    .btn,
    button[type='submit'] {
        padding: .75em 0;

        width: 100%;
        display: block;
    }

    .step-icon img {
        width: 60px;
    }

    .pos-r {
        position: initial;
        margin-left: 10px;
    }

    .w-half {
        width: 100%;
    }

    .modal-icon {
        display: none;
    }

    br.nosp {
        display: none;
    }

    #error-summary {
        padding-top: 1em;
    }

    /* form layout */
    .form-head {
        margin-top: 4em;
    }

    .steps {
        margin: 1.5em 0;
    }

    .form-block {
        margin: 0 10px;
        padding: 10px 20px 30px 20px;
    }

    .form-block form {
        width: 100%;
        padding: 0;
    }

    .form-group {
        margin-left: 0;
        width: 100%;
    }

    .form-item-name {
        width: 100%;
    }

    .contact-block {
        margin: 2em 10px;
        padding: 10px;
    }

    .submit-block {
        margin-top: 0;
    }

    /* step */
    .steps li,
    .steps li.current {
        padding-right: 5px;
        min-width: 100px;
    }

    .steps li::before {
        width: 55px;
        top: 24%;
        left: 77%;
    }

    .steps li.current::after {
        left: 28%;
    }

    div.alert-box {
        margin: 2em 0 1em 0;
        padding: .5em 1.5em;
    }

    /* Confirm */
    .confirm-block {
        width: 100%;
    }

    .table.item-table {
        width: 80%;
    }

    .item-table td {
        border-bottom: none;
        display: block;
        width: 100%;
        border: none;
    }

    .item-title {
        padding: 1em 0 0 0;
    }

    .item-value {
        padding: 1em 0;
        margin-left: 1em;
    }

    .formItem-block {
        margin-left: 1em;
    }

    .confirm-block .submit-block {
        margin-top: 2em;
    }

    .confirm-block .submit-block a {
        min-width: 100%;
        margin-right: 0;
    }

    /* Complete */
    .complete-block {
        padding: 3em 10px;
    }
}

/* PC Media Query */
@media screen and (min-width: 560px) {
    .w170 {
        width: 170px !important;
    }

    .w200 {
        width: 200px !important;
    }

    .w320 {
        width: 320px !important;
    }

    .w355 {
        width: 355px !important;
    }

    .ml30 {
        margin-left: 30px !important;
    }

    .head-image img,
    .foot-image img {
        max-width: 100%;
    }
}