@charset "UTF-8";

/* =============================================================================
  config
  ========================================================================== */


/* =============================================================================
  common
  ========================================================================== */

.leave h4 {
    line-height: normal;
}

@media (max-width: 549px) {
    .leave h4 p {
        font-size: 16px;
    }
}

.leave #main {
    padding-top: 60px;
}

@media only screen and (max-width: 800px) {
    .leave #main {
        padding-top: 15px;
    }
}

.leave #main dl dd {
    margin-bottom: 30px;
}

.leave #header {
    height: 60px !important;
}

.leave #footer h1 {
    margin-bottom: 30px;
}

.leave #footer ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 30px;
    list-style: none;
}

.leave #footer ul li {
    margin-left: 15px;
}

.leave #footer ul li::before {
    content: "＞";
    padding-right: 2px;
}

.leave .pageTitle {
    font-family: Georgia, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
    font-size: 28px;
    letter-spacing: 2px;
    font-weight: 300;
}

.leave .pageTitle::before {
    content: "「";
    padding-right: 50px;
    font-size: 24px;
}

.leave .pageTitle::after {
    content: "」";
    padding-left: 50px;
    font-size: 24px;
}

@media only screen and (max-width: 800px) {
    .leave .pageTitle {
        padding: 30px 0 30px 0;
        font-size: 20px;
    }
    .leave .pageTitle::before {
        padding-right: 20px;
        font-size: 16px;
    }
    .leave .pageTitle::after {
        padding-left: 20px;
        font-size: 16px;
    }
}

.leave .caution .banner {
    margin: 15px;
    text-align: center;
}

.leave nav.stepNav {
    position: relative;
    /* padding-top: 30px; */
    margin: 80px auto 120px auto;
    max-width: 1000px;
}

@media only screen and (max-width: 800px) {
    .leave nav.stepNav {
        margin: 30px 15px 60px 15px;
    }
    .leave nav.stepNav::after {
        width: 3px;
        height: 90px;
        left: 11px;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        bottom: auto;
        top: 40px;
    }
}

.leave nav.stepNav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media only screen and (max-width: 800px) {
    .leave nav.stepNav ul {
        display: block;
    }
}

.leave nav.stepNav ul li {
    position: relative;
    width: 20%;
    text-align: center;
}

.leave nav.stepNav ul li span {
    position: absolute;
    top: -45px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    display: inline-block;
    white-space: nowrap;
    padding: 10px 15px;
    background-color: #0b495c;
    text-align: center;
    font-weight: normal;
    font-size: 12px;
    color: #fff;
}

.leave nav.stepNav ul li::before {
    content: "";
    display: block;
    width: 100%;
    border-bottom: 2px solid #ccc;
    position: absolute;
    left: 50%;
    bottom: -22px;
    z-index: 3;
}

.leave nav.stepNav ul li:last-child::before {
    content: none;
}

.leave nav.stepNav ul li:nth-last-child(2)::before {
    border-bottom: 2px dotted #ccc;
}

.leave nav.stepNav ul li::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background: #ccc;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: -30px;
    border-radius: 50%;
    z-index: 3;
}

.leave nav.stepNav ul li.disable::after {
    background-color: #fff;
    border: 2px dotted #ccc;
}

.leave nav.stepNav ul li.current {
    color: #0b495c;
    font-weight: bold;
    font-size: 15px;
}

.leave nav.stepNav ul li.current::after {
    background-color: #0b495c;
    width:  26px;
    height: 26px;
    bottom: -35px;
    z-index: 3;
}
/*
.leave nav.stepNav.unitcancel ul::before {
    content: '入居者様';
    position: absolute;
    display: inline-block;
    top: -45px;
    left: 16px;
    width: auto;
    border: none;
    white-space: nowrap;
    color: #0b495c;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}
*/
.leave nav.stepNav.unitcancel ul li:nth-last-child(2)::before {
    border-bottom: 2px dotted #ecb30f;
}
.leave nav.stepNav.unitcancel ul li.disable {
    color: #ecb30f;
}
/*
.leave nav.stepNav.unitcancel ul li.disable::before {
    content: '管理会社';
    position: absolute;
    display: inline-block;
    top: -45px;
    left: 33%;
    width: auto;
    height: 34px;
    border: none;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    white-space: nowrap;
    color: #ecb30f;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}
*/
.leave nav.stepNav.unitcancel ul li.disable::after {
    background-color: #fff;
    border: 2px dotted #ecb30f;
}
.leave nav.stepNav.unitcancel ul li.current-over::before {
    border-bottom: 2px solid #0b495c;
}
.leave nav.stepNav.unitcancel ul li.current-over::after {
    background-color: #0b495c;
}
.leave nav.stepNav.unitcancel ul li:not(:nth-last-child(2)).current p.cancel-effect::before {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #0b495c 80%, #ccc);
    position: absolute;
    left: 50%;
    bottom: -22px;
    z-index: 3;
    animation: popin-line 1.5s infinite;
}
.leave nav.stepNav.unitcancel ul li.current p.cancel-effect::after {
    content: '';
    width:  26px;
    height: 26px;
    bottom: -35px;
    z-index: 4;
    background: #ccc;
    position: absolute;
    left: 50%;
    border-radius: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -ms-filter: blur(2px);
        filter: blur(2px);
    opacity: 0;
    animation: popin 1.5s infinite;
}
.leave .unitcancel-text {
    margin-top: -32px;
    margin-bottom: 24px;
    border: 1px solid #0b495c;
    padding: 24px 0;
    text-align: center;
}
.leave .unitcancel-text h2 {
    margin: 0 auto 16px !important;
    padding: 0 !important;
    border:  0 !important;
    text-align: center !important;
    font-size: 24px;
    color: #ed4949;
}
.leave .unitcancel-text p {
    font-size: 14px;
    font-weight: 500;
    color: #464646;
}
@keyframes popin-line {
    0% {
        width: 0%;
    }
    80% {
        width: 100%;
    }
    100% {
        opacity: 0;
    }
}
@keyframes popin {
    0% {
        opacity: 0;
        width:  14px;
        height: 14px;
        bottom: -32px;
    }
    50% {
        opacity: 0.5;
        width:  26px;
        height: 26px;
    }
    100% {
        opacity: 0;
    }
}

@media only screen and (max-width: 800px) {
    .leave nav.stepNav ul li {
        width: 100%;
        text-align: left;
        padding-left: 40px;
        margin-bottom: 30px;
    }
    .leave nav.stepNav ul li span {
        top: -10px;
        left: 80px;
        -webkit-transform: none;
        transform: none;
        display: inline-block;
        white-space: nowrap;
        padding: 10px 15px;
        background-color: #0b495c;
        text-align: center;
        font-weight: normal;
        font-size: 12px;
        color: #fff;
    }
    .leave nav.stepNav ul li::before {
        left: 12px;
        bottom: auto;
        width: 2px;
        height: 50px;
        border-bottom: none;
        border-left: 2px solid #ccc;
    }
    .leave nav.stepNav ul li:nth-last-child(2)::before {
        border-left: 2px dotted #ccc;
    }
    .leave nav.stepNav ul li::after {
        left: 4px;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        top: 0;
        width: 17px;
        height: 17px;
    }
    .leave nav.stepNav ul li.current::after {
        left: 0px;
        top: 0;
        width: 25px;
        height: 25px;
    }
    .leave nav.stepNav ul li.current-over::before {
        border-left: 2px solid #0b495c;
    }
    .leave nav.stepNav.unitcancel ul li:not(:nth-last-child(2)).current p.cancel-effect::before {
        left: 12px;
        bottom: auto;
        width: 2px;
        height: 50px;
        border-bottom: none;
        animation: popin-line-rwd 1.5s infinite;
    }
    @keyframes popin-line-rwd {
        0% {
            height: 0;
        }
        80% {
            height: 50px;
        }
        100% {
            opacity: 0;
        }
    }
    .leave nav.stepNav.unitcancel ul li.current p.cancel-effect::after {
        left: 0px;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        top: 0;
        width:  25px;
        height: 25px;
        animation: popin-rwd 1.5s infinite;
    }
    @keyframes popin-rwd {
        0% {
            opacity: 0;
            width:  20px;
            height: 20px;
        }
        50% {
            opacity: 0.5;
            width:  25px;
            height: 25px;
        }
        100% {
            opacity: 0;
        }
    }

    .leave .unitcancel-text {
        margin-left:  15px;
        margin-right: 15px;
    }

    .leave nav.stepNav.unitcancel ul li.disable::before {
        top:  0;
        left: 208px;
        width: 162px;
        height: auto;
    }
    .leave nav.stepNav.unitcancel ul::before {
        top: 0;
        left: 174px;
    }
    .leave nav.stepNav.unitcancel ul li:nth-last-child(2)::before {
        border-left: 2px dotted #ecb30f;
        border-bottom: none;
    }
}

.leave .section h5 {
    margin-bottom: 15px;
}

.leave .section p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.8;
}

@media only screen and (max-width: 800px) {
    .leave .section {
        margin: 0 15px;
    }
}

.leave .section .required {
    padding: 2px 5px;
    background-color: #eb665e;
    font-size: 12px;
    font-weight: normal;
    border-radius: 3px;
    color: #fff;
}

.leave .section input[type="text"],
.leave .section input[type="number"],
.leave .section input[type="tel"],
.leave .section input[type="email"],
.leave .section textarea,
.leave .section select {
    padding: 15px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 3px;
}

@media only screen and (min-width: 801px) {
    .leave .section input[type="text"].input-s,
    .leave .section input[type="number"].input-s,
    .leave .section input[type="tel"].input-s,
    .leave .section input[type="email"].input-s,
    .leave .section textarea.input-s,
    .leave .section select.input-s {
        width: 30%;
    }
}

.leave .section .select {
    position: relative;
    width: auto;
}

.leave .section .select select {
    padding-right: 50px;
    width: auto;
}

.leave .section .select::after {
    pointer-events: none;
    content: "▼";
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.leave .section .input--other {
    display: none;
    margin-top: 10px;
}

.leave .section .input + .input {
    margin-top: 10px;
}

.leave .section .input--label label {
    display: block;
    margin-bottom: 10px;
}

.leave .section .input--horizontal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
}

@media only screen and (max-width: 800px) {
    .leave .section .input--horizontal {
        display: block;
    }
}

.leave .section .input--horizontal div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 50%;
}

.leave .section .input--horizontal div input {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.leave .section .input--horizontal div label {
    display: block;
    padding-right: 10px;
    width: 40px;
    text-align: right;
    font-size: 12px;
}

.leave .section .input--horizontal div:first-child {
    padding-right: 15px;
}

@media only screen and (max-width: 800px) {
    .leave .section .input--horizontal div {
        margin-bottom: 10px;
        width: 100%;
    }
    .leave .section .input--horizontal div:first-child {
        padding-right: 0;
    }
}

.leave .section .check {
    margin-bottom: 10px;
    width: 100% !important;
}

.leave .section .check label {
    font-size: 14px;
    font-weight: bold;
}

.leave .section .check label::before {
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.leave .section .datepickerWrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.leave .section .datepickerWrap .ui-datepicker-trigger {
    padding-left: 10px;
    width: 30px;
}

.leave .section .datepickerWrap input[type="text"] {
    max-width: 50%;
}

@media only screen and (min-width: 801px) {
    .leave .section .datepickerWrap input[type="text"] {
        max-width: 30%;
    }
}

.leave .section .checkArea.checkArea--horizontal {
    width: auto !important;
    padding: 0 !important;
    font-size: 14px !important;
    border: none !important;
}

.leave .section .checkArea.checkArea--horizontal label {
    font-size: 14px !important;
}

.leave .section .checkArea.checkArea--horizontal > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 10px;
}

.leave .section .checkArea.checkArea--horizontal > div input[type="text"] {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-left: 10px;
}

.leave .section .table {
    margin-bottom: 30px;
    width: 100%;
    font-size: 14px;
    line-height: normal;
}

@media only screen and (min-width: 801px) {
    .leave .section .table {
        border-top: 1px solid #ccc;
    }
}

.leave .section .table .note {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

@media only screen and (min-width: 801px) {
    .leave .section .table tr {
        border-bottom: 1px solid #ccc;
    }
}

.leave .section .table th,
.leave .section .table td {
    padding: 30px;
}

.leave .section .table th {
    width: 30%;
    background-color: #f1f1ec;
}

.leave .section .table td {
    width: 70%;
}

.leave .section .table td a {
    text-decoration: underline;
    font-size: 14px;
}

@media only screen and (max-width: 800px) {
    .leave .section .table th,
    .leave .section .table td {
        display: block;
        padding: 15px;
    }
    .leave .section .table th {
        width: 100%;
    }
    .leave .section .table td {
        margin-bottom: 15px;
        padding: 15px 0;
        width: 100%;
    }
}

.leave .section ul.notice {
    margin-left: 25px;
}

.leave .section ul.notice li {
    margin-bottom: 5px;
}

.leave .section .submit {
    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;
    margin: 30px 0;
}

.leave .section .submit .button {
    cursor: pointer;
    margin: 0 15px;
    width: 275px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
}

.leave .section .submit .button:hover {
    opacity: 0.5;
}

.leave .section .message {
    padding: 30px;
    border-radius: 5px;
    border: 2px solid #eb665e;
    text-align: center;
}

.leave .section .message p {
    font-size: 16px;
    line-height: normal;
    margin-bottom: 0;
    font-weight: 700;
}

.leave .section .message.message--navy {
    border: 2px solid #0b495c;
}

.leave#leave.finish h4 {
    margin-top: 30px;
}

.leave#leave.finish h4:nth-of-type(1) {
    margin-top: 0;
}

.leave#leave.finish .message {
    margin-bottom: 30px;
}

.leave#leave.finish .btnSet {
    width: auto;
    margin: 15px 0;
    text-align: center;
}

.leave#leave.finish .btnSet a {
    width: 225px;
}

.leave .section .errorMessage {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
    display: block;
    margin: 10px 0;
    color: red;
    font-size: 14px;
}
