@charset "UTF-8";

.form .form-wrap {
    background: var(--color-non);
    max-width: 900px;
    padding: 3rem 1.5rem 5rem;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.form .offset {
    padding: 10rem 0 0;
}

.form .bg .offset {
    padding: 0 0 5rem;
}

form .attention {
    color: var(--color-attention);
    font-weight: 600;
}

::placeholder {
    color: var(--color-dark);
}

.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-primary);
    color: #fff;
    border-radius: 5px;
    width: fit-content;
    margin: auto;
    padding: .2rem 1rem
}

.form .lead {
    color: var(--color-basic);
    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-attention);
    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 .form-wrap ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
    margin: 0;
    font-weight: 600;
}

@media (min-width:600px) {

    .form h1 {
        display: flex;
        justify-content: center;
        align-items: center
    }

    .form h1 span {
        display: inline-block;
        width: auto;
        margin: .5rem
    }

    .form .confirm {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .form .bg .offset {
        padding: 10rem 0;
    }


}

.form .confirm .mailform-container {
    margin: 0 0 2rem
}

.form dt {
    font-size: 1.7rem;
    font-weight: 400;
    text-align: left;
}

.form dd {
    font-size: 1.6rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-dark);
}

@media (min-width: 821px) {

    .form .form-wrap {
        padding: 4rem;
    }

    .form dl {
        display: block;
    }

    .form dt {
        width: 100%;
        background: 0 0;
        padding: 2rem 0 0;
        margin: 0;
        border-bottom: none;
    }

    .form dt span {
        font-weight: 400
    }

    .form dd {
        width: 100%;
        padding: 1rem 0;
        margin: 0;
    }

}

@media (min-width:600px) {}

.form .confirm .button span {
    display: inline-block;
    width: auto;
    margin: 0 .5rem 0 0;
}

.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;
    background: var(--color-corporate-light);
    border: none;
    border-radius: 2px;
}

.form button:hover {
    opacity: .75
}

.form button.submit {
    max-width: 600px;
    background: var(--color-corporate-bright);
    border: 1px solid var(--color-corporate-bright);
    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
}

.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: #fff
}


.form .zipcode,
.form .tel {
    width: 50%;
}

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-dark);
    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-primary);
}

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
}

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-primary);
}

.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-primary);
    border: 1px solid var(--color-primary);
}

.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;
    flex-direction: column;
}

@media (min-width: 821px) {

    .check-area {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

}

.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
}

/*//////////////////// STEP ////////////////////////*/

.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: var(--color-basic);
    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 var(--color-light);
    background: var(--color-non);
}

.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(--color-basic);
}

.step-inner li.active:before,
.step-inner li.complete:before {
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.step-inner li.active:after,
.step-inner li.complete:after {
    background: var(--color-primary);
}

.text-link {
    text-align: center;
    font-size: 1.3rem;
    padding: 1rem 0;
    border-top: 1px solid #f7f7f7
}

/*//////////////////// MENTION-BOX ////////////////////////*/

.mention-box {
    border: 2px solid var(--color-primary);
    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;
}

label {
    margin: 0 2rem 0 0;
}

/*//////////////////// MENTION-BOX ////////////////////////*/

@media (min-width: 821px) {

    .form.confirm dd .contents-inner {
        padding: 0;
    }

}

/*//////////////////// ERROR ////////////////////////*/

input[type=email].error,
input[type=tel].error,
input[type=text].error,
textarea.error {
    border: 2px solid var(--color-primary);
}

.error {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-primary);
    font-weight: 600;
    background: url(../../contact/js/images/error.gif) no-repeat 0px 5px;
    padding: 0 0 0 2rem;
    margin: .5rem 0 0;
}

/*//////////////////// INPUT-CHECK ////////////////////////*/

input[type=checkbox] {
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    margin: 0 1rem 0 0;
}

input.input-check::before,
input.input-check::after {
    content: "";
    display: block;
    position: absolute;
}

input.input-check::before {
    background: var(--color-non);
    border: 1px solid var(--color-dark);
    width: 18px;
    height: 18px;
    border-radius: 3px;
    top: -4px;
    left: 0;
}

input.input-check::after {
    border-bottom: 3px solid var(--color-non);
    border-left: 3px solid var(--color-non);
    opacity: 0;
    height: 7px;
    width: 10px;
    transform: rotate(-45deg);
    top: 0px;
    left: 4px;
}

input.input-check:checked::before {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

input[type=checkbox]:checked::after {
    opacity: 1;
}

/*//////////////////// TEXTAREA ////////////////////////*/

textarea {
    height: 10em;
    line-height: 1.5em;
}

/*//////////////////// EXTERNAL ////////////////////////*/

.external .heading {
    border-bottom: 1px solid var(--color-light);
}

.external main {
    margin-top: 0;
}

@media (min-width: 821px) {

    .contact.external .contents-block .merit .grid-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 5%;
    }

}

/*//////////////////// form layout ////////////////////////*/

.online-entry.center .button.size-L {
    margin: 2rem 1rem;
}

/*//////////////////// saikan tokan ////////////////////////*/

.contact form ul {
    display: flex;
}

/* サイカンシステムと東冠用のCSS */
.st-qa.offset-1000 {
    padding: 1.5rem;
}

.st-qa .accordion_one {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.st-qa .accordion_header {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.st-qa .accordion_header:hover {
    background: #e9ecef;
}

.st-qa .accordion_header h4 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
}

.st-qa .i_box {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.st-qa .one_i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: #333;
    transform: translate(-50%, -50%);
}

.st-qa .one_i::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 12px;
    background: #333;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.st-qa .accordion_inner {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    opacity: 0;
}

.st-qa .accordion_one.open .accordion_inner {
    max-height: 2000px;
    opacity: 1;
}

.st-qa .accordion_one.open .one_i::before {
    transform: translate(-50%, -50%) rotate(0deg);
}

.st-qa .accordion_one.open .one_i {
    transform: translate(-50%, -50%) rotate(45deg);
}

.st-qa .box_one {
    padding: 20px;
    background: #fff;
}

.st-qa .cp_qa dl {
    margin: 0;
}

.st-qa .cp_qa dl {
    margin: 0;
    display: block;
    width: 100%;
}

.st-qa .cp_qa dl dt,
.st-qa .cp_qa dl dd {
    display: block;
    width: 100%;
    float: none;
}

.st-qa .cp_qa dt {
    background: #f8f9fa;
    padding: 15px 15px 15px 50px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-weight: normal;
    color: #333;
    font-size: 1.6rem;
    position: relative;
}

.st-qa .cp_qa dt::before {
    content: 'Q';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-family: var(--font-family-en);
    color: var(--color-attention);
    font-weight: bold;
}

.st-qa .cp_qa dt span {
    display: block;
}

.st-qa .cp_qa dd {
    background: #fff;
    padding: 15px 15px 15px 50px;
    margin: 0 0 20px 0;
    display: block;
    position: relative;
}

.st-qa .cp_qa dd::before {
    content: 'A';
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 1.8rem;
    font-family: var(--font-family-en);
    color: var(--color-corporate-light);
    font-weight: bold;
}

.st-qa .cp_qa dd span {
    color: #666;
}

/* アクセシビリティ向上 */
.st-qa .accordion_header:focus {
    outline: 2px solid #007bff;
    outline-offset: -2px;
}

/*//////////////////// BUTTON size-L ////////////////////////*/

.button.size-L {
    font-size: 1.6rem;
    font-weight: 600;
    width: 100%;
    padding: 1.5rem 3rem;
    margin: 2rem 0 1rem;
}

@media (min-width: 821px) {

    .button.size-L {
        margin: 5rem 1rem;
        max-width: 300px;
    }

}