#teian-irai {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 10000;
    -webkit-transition: height .5s;
    transition: height .5s;
    height: 86px
}

@media only screen and (max-width: 799px) {
    #teian-irai {
        width:100%;
        bottom: auto;
        top: 0;
        right: auto;
        -webkit-transition: height 0s;
        transition: height 0s;
        background-color: rgba(0,0,0,.2);
        display: none
    }
}

#teian-irai.open {
    height: calc(100% - 140px);
    -webkit-transition: height .5s;
    transition: height .5s
}

@media only screen and (max-width: 799px) {
    #teian-irai.open {
        height:calc(100% - 72px);
        -webkit-transition: height 0s;
        transition: height 0s;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        right: 0;
        left: 0
    }
}

#teian-irai.open .ti-frame {
    position: relative;
    height: calc(65%);
    border: 1px solid #999;
    width: 320px;
    margin-top: 15px
}

@media only screen and (max-width: 799px) {
    #teian-irai.open .ti-frame {
        width:96%;
        height: calc(91%);
        margin: 0 auto 0
    }
}

#teian-irai.open .complete_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

#teian-irai .ti-frame {
    height: 0;
    -webkit-transition: height .5s;
    transition: height .5s
}

@media only screen and (max-width: 799px) {
    #teian-irai .ti-frame {
        -webkit-transition:height 0s;
        transition: height 0s
    }
}

#teian-irai .show-btn {
    position: relative;
    min-height: 86px;
    padding: 5px 35px 5px 5px;
    background-color: #4fb7b2;
    border-radius: 50px
}

@media only screen and (max-width: 799px) {
    #teian-irai .show-btn {
        display:none
    }
}

#teian-irai .show-btn .pc-close-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    z-index: 100000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 1.6em;
    height: 1.6em;
    border-radius: 50%;
    background: #fff;
    font-size: 20px;
    line-height: 1;
    -webkit-box-shadow: 0 0 4px;
    box-shadow: 0 0 4px;
    cursor: pointer
}

@media only screen and (max-width: 799px) {
    #teian-irai .show-btn .pc-close-btn {
        display:none
    }
}

#teian-irai .show-btn>a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

#teian-irai .show-btn .tib-img {
    border-radius: 100px;
    overflow: hidden;
    line-height: 0
}

#teian-irai .show-btn .tib-txt {
    margin-left: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 15px
}

#teian-irai .sp-close-btn {
    display: none
}

@media only screen and (max-width: 799px) {
    #teian-irai .sp-close-btn {
        display:block;
        font-size: 40px;
        text-align: right;
        width: 94%
    }

    #teian-irai .sp-close-btn a {
        font-weight: bold;
        color: #fff
    }
}

#teian-irai .complete_box {
    position: absolute;
    width: 100%;
    height: calc(100%);
    top: 0;
    background: rgba(0,0,0,.7);
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-bottom: 100px
}

#teian-irai .complete_box .complete_msg {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center
}

#teian-irai .complete_box .complete_img {
    margin: 10px 0;
    text-align: center
}

#teian-irai .complete_box .msg_1 {
    color: #fff;
    font-size: 15px;
    text-align: center
}

#teian-irai .complete_box .msg_2 {
    color: #fff;
    font-size: 12px;
    text-align: center
}

#teian-irai .complete_box .msg_3 {
    color: #fff;
    font-size: 12px;
    text-align: center
}

#teian-irai .complete_box .ti-close {
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #fff
}

#teian-irai .complete_box .ti-close button {
    display: block;
    width: 80%;
    margin: 0 auto;
    padding: 12px;
    background-color: #00308f;
    font-weight: bold;
    color: #fff;
    border-radius: 50px
}

#teian-irai .ti-frm {
    background-color: #fff;
    height: 100%;
    overflow-y: scroll
}

#teian-irai .ti-frm h2 {
    color: #00308f;
    text-align: center;
    font-weight: bold;
    padding: 10px 0
}

#teian-irai .ti-frm>.box {
    background: #f4fbfa
}

#teian-irai .ti-frm>.box h3 {
    background-color: #00308f;
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding: 3px 0;
    font-weight: bold
}

#teian-irai .ti-frm>.box dl {
    padding: 20px 8px
}

#teian-irai .ti-frm>.box dl .parts {
    margin-bottom: 25px
}

#teian-irai .ti-frm>.box dl .parts:last-child {
    margin-bottom: 0
}

#teian-irai .ti-frm>.box dl .parts dt {
    position: relative;
    border-left: 5px solid #4fb7b2;
    padding-top: 7px;
    padding-left: 8px;
    padding-bottom: 7px;
    color: #444;
    font-size: 14px;
    font-weight: bold
}

#teian-irai .ti-frm>.box dl .parts dt span {
    position: absolute;
    right: 0;
    top: 8px;
    font-weight: bold;
    font-size: 12px
}

#teian-irai .ti-frm>.box dl .parts dt .required {
    color: #f33
}

#teian-irai .ti-frm>.box dl .parts dd {
    margin-top: 8px;
    font-size: 14px;
    padding-left: .5em
}

#teian-irai .ti-frm>.box dl .parts dd .err {
    display: inline-block;
    margin-top: 5px;
    color: #f33;
    font-weight: bold;
    font-size: 12px
}

#teian-irai .ti-frm>.box dl .parts dd .err:empty {
    display: none
}

#teian-irai .ti-frm>.box dl .parts dd .labels {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

#teian-irai .ti-frm>.box dl .parts dd .labels li {
    margin-right: 10px
}

#teian-irai .ti-frm>.box dl .parts dd .labels input[type=radio]+label {
    display: inline-block;
    min-width: 3em;
    background: #fff;
    padding: 8px 10px 8px 10px;
    border: 1px solid #4fb7b2;
    color: #4fb7b2;
    font-weight: bold;
    text-align: center;
    border-radius: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

#teian-irai .ti-frm>.box dl .parts dd .labels input[type=radio]:checked+label {
    background-color: #4fb7b2;
    color: #fff
}

#teian-irai .ti-frm>.box dl .parts dd label {
    font-size: 14px
}

#teian-irai .ti-frm>.box dl .parts dd input[type=text],#teian-irai .ti-frm>.box dl .parts dd input[type=tel],#teian-irai .ti-frm>.box dl .parts dd input[type=email] {
    border: 1px solid #4fb7b2;
    border-radius: 20px;
    padding: 12px 0 12px 15px;
    width: 100%
}

#teian-irai .ti-frm>.box dl .parts dd input[type=text]:focus,#teian-irai .ti-frm>.box dl .parts dd input[type=tel]:focus,#teian-irai .ti-frm>.box dl .parts dd input[type=email]:focus {
    background-color: #fffeea;
    border: 1px solid #fc940b;
    outline: none
}

#teian-irai .ti-frm>.box dl .parts dd select {
    border: 1px solid #4fb7b2;
    border-radius: 20px;
    padding: 12px 0 12px 15px;
    width: 100%
}

#teian-irai .ti-frm>.box dl .parts dd select:focus {
    background-color: #fffeea;
    border: 1px solid #fc940b;
    outline: none
}

#teian-irai .ti-frm>.box dl .parts dd textarea {
    border: 1px solid #4fb7b2;
    border-radius: 20px;
    padding: 8px 10px 8px 10px;
    width: 100%;
    height: 100px
}

#teian-irai .ti-frm>.box dl .parts dd textarea:focus {
    background-color: #fffeea;
    border: 1px solid #fc940b;
    outline: none
}

#teian-irai .ti-frm>.box dl .parts dd input[type=file] {
    font-size: 12px
}

#teian-irai .ti-submit {
    padding: 20px 0
}

#teian-irai .ti-submit p {
    font-size: 12px;
    text-align: center;
    margin-bottom: 10px
}

#teian-irai .ti-submit p a {
    color: #2770ff;
    text-decoration: underline
}

#teian-irai .ti-submit button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
    padding: 12px;
    background-color: red;
    font-weight: bold;
    color: #fff;
    border-radius: 50px
}

#teian-irai-doui {
    position: fixed;
    background-color: rgba(0,0,0,.7);
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10001;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

#teian-irai-doui>.box {
    position: relative;
    height: 80%;
    background-color: #fff;
    width: 700px;
    padding: 10px;
    margin: 0 10px
}

#teian-irai-doui>.box h4 {
    text-align: center;
    font-weight: bold;
    color: #00308f;
    background-color: #f5f5f5
}

#teian-irai-doui>.box * {
    font-size: 14px
}

#teian-irai-doui>.box .inner {
    margin-top: 10px;
    overflow-y: scroll;
    height: calc(100% - 40px)
}

#teian-irai-doui>.box .inner>ol {
    padding-left: 1em
}

#teian-irai-doui>.box .inner>ol li {
    margin-bottom: 20px
}

#teian-irai-doui>.box .inner>ol li:last-child {
    margin-bottom: 0
}

#teian-irai-doui>.box .inner>ol li>ol {
    margin-top: 5px;
    padding-left: 2em
}

#teian-irai-doui>.box .inner>ol li>ol>li {
    margin-bottom: 5px
}

#teian-irai-doui>.box .inner>ol li>ol>li:last-child {
    margin-bottom: 0
}

#teian-irai-doui>.box dl {
    margin-top: 20px;
    margin-bottom: 20px
}

#teian-irai-doui>.box dt {
    margin-bottom: 10px
}

#teian-irai-doui>.box .tid-close {
    position: absolute;
    right: -36px;
    font-size: 30px;
    font-weight: bold;
    top: 0;
    color: #fff
}

@media only screen and (max-width: 799px) {
    #teian-irai-doui>.box .tid-close {
        right:5px;
        font-size: 40px;
        top: -45px
    }
}