@charset "UTF-8";

.form {
    margin-top: 0;
}

.form .contents-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.form .wrapper {
    padding: 0
}

.form h1 {
    font-size: 2.4rem;
    margin: 2rem 0;
    font-weight: 400
}

.form h1 span {
    display: block;
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 400;
    background: var(--color-form);
    color: #fff;
    border-radius: 5px;
    width: fit-content;
    margin: auto;
    padding: .2rem 1rem
}

.form .lead {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    width: 100%;
    text-align: center
}

.form dt span,
label span {
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 400;
    background: var(--color-form);
    color: #fff;
    border-radius: 2px;
    padding: .2rem 1rem;
    margin-left: .5rem
}

.form dd .contents-inner.dif {
    display: inline-flex;
}

.form dd .contents-inner.difw {
    display: inline-flex;
    flex-wrap: wrap;
}

.form dd .contents-inner>* {
    margin: 0 1rem 0 0;
}

.form .agree {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.form .confirm {
    display: flex;
    justify-content: center;
    /*flex-wrap: wrap;*/
}

.form ::placeholder{
  color: var(--color-light);
}

@media (min-width:821px) {
    .form h1 {
        display: flex;
        justify-content: center;
        align-items: center
    }

    .form h1 span {
        display: inline-block;
        width: auto;
        margin: .5rem
    }
}

@media (min-width:821px) {
    .form .container {
        max-width: 910px;
        padding: 0
    }
}

.form .confirm .mailform-container {
    margin: 0 0 2rem
}

.form dt {
    padding: 1rem 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: left;
}

.form dd {
    font-size: 1.6rem;
    padding: 1rem;
    border-bottom: 1px solid var(--color-light);
}

@media (min-width:821px) {
    .form dt {
        width: 30%;
        background: 0 0;
        color: var(--color-dark);
        text-align: right;
        padding: 0 2rem 2rem 0;
        margin: 2rem 0 0;
        border-bottom: 1px solid var(--color-light);
    }

    .form dt span {
        font-weight: 400
    }

    .form dd {
        width: 70%;
        padding: 0 2rem 2rem 0;
        margin: 2rem 0 0
    }

}

.form .confirm .button {
    background: var(--color-form);
    border-color: var(--color-form);
    padding: 1rem 0!important;
    width: 50%;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.form .confirm .button span {
    display: inline-block;
    width: auto;
    margin: 0 .5rem 0 0;
    font-size: clamp(1rem, 2.5vw, 2rem);
}

@media (min-width:821px) {

    .form .confirm .button {
        width: 30%;
    }

}

.form .button.white {
    border: none
}

.form .button.icon .inner-text {
    text-align: left
}

.form .button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0
}

.form .button.back {
    margin: 3rem 0
}

.form .reset-button,
.form .submit-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0 4rem
}

.form button {
    position: relative;
    /*width:100%;*/
    padding: 1rem 6rem !important;
    font-size: 1.4rem;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: .3s ease-in-out
}

.form button:hover {
    opacity: .75
}

.form button.submit {
    max-width: 600px;
    background: var(--featured-color);
    border: 1px solid var(--featured-color);
    color: #fff;
    font-size: 2rem;
    padding: 1rem;
    font-weight: 600;
    box-shadow: 0 5px 10px -6px rgba(0, 0, 0, .6);
    border-radius: 2px;
    font-family: "游ゴシック Medium", Yu Gothic Medium, "游ゴシック体", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif
}

.form button.submit:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 1.5rem;
    background: #fff;
    mask: url(../../content/images/icon_arrowR.svg) no-repeat center center/contain;
    -webkit-mask: url(../../content/images/icon_arrowR.svg) no-repeat center center/contain
}

.form .top-area {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2rem 0 0;
    margin: auto;
    border-top: 3px solid rgba(5, 30, 43, 1);
    border-bottom: 1px solid rgba(239, 239, 239, 1)
}

.form .top-area .logo {
    width: 150px;
    height: 42px;
    background: url(../../content/images/logo.png) no-repeat top center/contain;
    text-align: left;
    text-indent: -9999px;
    margin: 0 10px
}

.form .header-area {
    display: block;
    text-align: center
}

.step-container {
    margin: 4rem 0
}

.step-inner {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
}

.step-inner li {
    position: relative;
    list-style-type: none;
    text-align: center;
    text-transform: uppercase;
    width: 33.333%;
    color: #222;
    font-weight: 700
}

.step-inner li:before {
    display: block;
    width: 18px;
    height: 18px;
    margin: 7px auto 20px auto;
    content: '';
    text-align: center;
    border-radius: 50%;
    border: 2px solid #999;
    background: #fff
}

.step-inner li:after {
    position: absolute;
    z-index: -1;
    top: 15px;
    left: -50%;
    width: 100%;
    height: 2px;
    content: '';
    background: #f5f5f5
}

.step-inner li:first-child:after {
    content: none
}

.step-inner li.active,
.step-inner li.complete {
    color: var(--featured-color)
}

.step-inner li.active:before,
.step-inner li.complete:before {
    background: var(--color-form);
    border: 2px solid var(--color-form);
}

.step-inner li.active:after,
.step-inner li.complete:after {
    background: var(--color-form);
}



.text-link {
    text-align: center;
    font-size: 1.3rem;
    padding: 1rem 0;
    border-top: 1px solid #f7f7f7
}

.text-link p {
    margin: 0
}

input[type=email],
input[type=tel],
input[type=text],
select,
textarea {
    -webkit-appearance: none;
    appearance: none
}

.form .input-area.confirm .check-area,
.form .input-area.confirm dl {
    background: var(--color-non);
}

.form dl {
    line-height: 1.8;
}

input[type=email],
input[type=tel],
input[type=text],
select,
textarea {
    font-family: "游ゴシック Medium", Yu Gothic Medium, "游ゴシック体", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
    font-size: 1.6rem;
    border-radius: 5px;
    background: var(--color-non);
    border: 1px solid var(--color-light);
    width: 100%;
    padding: 1rem;
    transition: all .3s;
    -webkit-transition: all .3s
}

input[type=email]:focus,
input[type=tel]:focus,
input[type=text]:focus,
textarea:focus {
    border: 1px solid var(--color-form);
}

select {
    background: #fff url(../../content/images/icon_select.png) no-repeat;
    background-size: 20px 20px;
    background-position: right 10px center;
    color: var(--color-dark);
}

select::-ms-expand {
    display: block
}

input[type=email].error,
input[type=tel].error,
input[type=text].error,
textarea.error {
    border: 2px solid #a90073;
    background: #fff2fb
}

.error-message {
    color: #a90073;
    font-weight: 600;
    margin: .5rem 0 0
}

button,
input[type=button],
input[type=submit] {
    cursor: pointer
}

.radio-area {
    display: flex;
    flex-wrap: wrap
}

.radio-box {
    position: relative;
    padding: .8rem 1rem .8rem .7rem;
    margin: 0 1rem 1rem 0;
    z-index: 0;
    cursor: pointer
}

.radio-box input[type=radio] {
    width: 15px;
    height: 15px;
    margin-top: -4px;
    border-radius: 50%;
    background-color: #eee;
    border: 3px solid #eee;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    vertical-align: middle;
    transition: .3s
}

.radio-box input[type=radio]:checked {
    background-color: var(--color-form);
}

.radio-box input[type=radio]::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border: 1px solid #999;
    content: '';
    z-index: -1;
    border-radius: 3px;
    cursor: pointer
}

.radio-box input[type=radio]:checked::before {
    background: var(--color-form);
    border: 1px solid var(--color-form);
}

.radio-box input[type=radio]:checked+label {
    color: #fff
}

.radio-box label {
    display: inline-block;
    cursor: pointer;
    font-size: 1.6rem
}

.check-area {
    display: flex;
    align-items: center;
    /*flex-direction:column;*/
    justify-content: space-between;
    padding: 0 2rem;
    width: 100%
}

.check-box {
    padding: 12px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 600
}

.check-box-input {
    margin: 0;
    width: 0;
    opacity: 0
}

.check-box:hover {
    background: rgba(0, 0, 0, .05)
}

.form .input-area.confirm .check-box:hover {
    background: 0 0;
    cursor: default
}

.check-box-input:focus+.check-box-dummy {
    border: dashed 1px #333
}

.check-box-input:checked+.check-box-dummy {
    background: var(--color-form);
}

.check-box-input:checked+.check-box-dummy::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40%;
    height: 3px;
    border-radius: 2px;
    transform: translate(-4px, 2px) rotateZ(-135deg);
    transform-origin: 2px 2px;
    background: #fff
}

.check-box-input:checked+.check-box-dummy::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 76%;
    height: 3px;
    border-radius: 2px;
    transform: translate(-3px, 3px) rotateZ(-48deg);
    transform-origin: 2px 2px;
    background: #fff
}

.check-box-dummy {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, .1);
    border-radius: 3px;
    margin: .5rem
}

/*//////////////////// MENTION-BOX ////////////////////////*/

.mention-box {
    border: 2px solid var(--color-form);
    padding: 2rem 0;
    margin: 2rem 0
}

.mention-box .contents-wrap > * {
    margin: 0 1rem;
}

.mention-box .contents-wrap p {
    margin-bottom: 0;
}

.mention-box .contents-wrap > p {
    color: var(--color-form);
    font-weight: 600;
}

.mention-box .contents-wrap .button {
    padding: 0;
}


/*//////////////////// ERROR ////////////////////////*/

div.error {
    color: #a90073!important;
}

/*//////////////////// INPUT-CHECK ////////////////////////*/

input[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    cursor: pointer;
    padding-left: 18px;
    vertical-align: text-top;
}

input.input-check::before,
input.input-check::after {
    content: "";
    display: block;
    position: absolute;
}

input.input-check::before {
    background-color: #fff;
    border: 1px solid #707070;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    top: -4px;
    left: 0;
}

input.input-check::after {
    border-bottom: 3px solid #fff;
    border-left: 3px solid #fff;
    opacity: 0;
    height: 7px;
    width: 10px;
    transform: rotate(-45deg);
    top: 0px;
    left: 4px;
}

input.input-check:checked::before {
    background-color: #8d4150;
    border-color: #8d4150;
}

input[type=checkbox]:checked::after {
    opacity: 1;
}

/*//////////////////// TEXTAREA ////////////////////////*/

textarea {
    height: 7em;
    line-height: 1.5em;
}
