/**
 * uaplus.css version 0.3.0
 */
@layer{
    *,*::after,*::before{box-sizing:border-box;padding: 0;margin: 0;}
    :focus-visible{outline-offset:3px}
    html{-webkit-text-size-adjust:none;text-size-adjust:none}
    html{line-height:1.5}
    html{scrollbar-gutter:stable}

    audio,iframe,img,svg,video{max-block-size:100%;max-inline-size:100%}
    fieldset{min-inline-size:0}label:has(+input:not([type="radio"],[type="checkbox"]),select,textarea){display:block}
    textarea:not([rows]){min-block-size:6em}
    [type="search"]{-webkit-appearance:textfield}
    @supports (-webkit-touch-callout:none){[type="search"]{border:1px solid -apple-system-secondary-label;background-color:canvas}}
    table{border-collapse:collapse;border:1px solid transparent; width:100%;}th,td{border:1px solid transparent;vertical-align:top}
    img{display:block; height: auto;}
    iframe{border:none}

    address {text-decoration: none;font-style: normal;}
    ol, ul{ list-style:none; }

    caption, th{
        text-align: left;
    }
    a {
        color: #1a0dab;
        text-decoration: none;
    }
    a:focus, a:active {
        outline:none;
        text-decoration: underline;
    }
    a,a:hover {
        transition: 0.7s;
    }

    a img:hover {
        filter: alpha(opacity=75);
        opacity:0.75;
        transition: 0.3s;
    }
}

html {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

header {
    width: 1120px;
    margin: 0 auto;
    padding: 21px 0 20px 5px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 1px solid #b8bbc3;

    .homeLink {
        margin-right: auto;

        .logo {
            display: block;
            width: 270px;
            height: auto;
        }
    }

    .btn {
        border-radius: 5px;
        margin-right: 15px;
        padding: 10px 15px;
        color: #fff;
        text-decoration: none;
        font-size: 105%;
    }

    .btn.counseling {
        background: #ee7800;
    }
    .btn.applicate {
        background: #1a2f72;
    }
}

footer {
    background: #f8f9fa;
    width: 100%;
    padding-top: 35px;

    .publisher {
        width: 1120px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .logo {
            display: block;
            margin-right: 10px;
            width: 270px;
            height: auto;
        }
        p {
            width: 810px;
            border-radius: 12px;
            background: #fff;
            padding: 13px 22px;
            font-size: .95rem;
            line-height: 1.8;
        }
    }

    .official-notes {
        width: 1120px;
        margin: 0 auto;
        padding: 35px 0 30px;
        .row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 25px;

            h3 {
                border-bottom: 1px solid #d6d2cb;
                font-weight: bold;
                font-size: 1rem;
                margin-bottom: 17px;
                padding: 0 0 9px 7px;
            }

            .block {
                width: 530px;
            }
        }
        .offices {
            .office {
                display: flex;
                justify-content: flex-start;
                align-items: center;
                img, address {
                    display: block;
                }

                img {
                    margin: 0 30px 0 10px;
                }
            }
        }
        .contact-info {
            dl{
                display:flex;
                flex-wrap: wrap;
            }
            dt{
                padding: 0 0 8px 20px;
                width: 25%;
                box-sizing: border-box;
            }
            dd{
                padding: 0 0 10px 20px;
                width: 75%;
                box-sizing: border-box;
            }
            dt:last-of-type, dd:last-of-type {
                 padding: 0 0 0 20px;
            }
            .sns-icon {
                display: inline-block;
                vertical-align: middle;
                color: #888;
            }
        }
        .inter-page-links {
            margin-bottom: 0;
            .links {
                padding: 0 10px 0 20px;

                a {
                    display: inline-block;
                    margin-right: 15px;
                    line-height: 1.8;
                }
            }
        }
    }

    .copyrights {
        color: #fff;
        text-align: center;
        width: 100%;
        font-size: .8rem;
        background: #1a2f72;
        padding: 5px 0;
        margin-top: 0;
    }
}

.error {
    color: rgb(190, 41, 30);
    display: block;
    font-size: .9rem;
}

.breadcrumb {
    margin-bottom: 18px;
    font-size: .9rem;
    padding-left: 15px;

    span[itemprop=itemListElement]:last-child a {
        cursor: default;
        color: #000;
    }
}

.globalNavForSP {
    display: none;
    position: absolute;
    z-index: 10000;
    width: 100%;

    &.active {
        display: flex;
        flex-direction: column;
    }

    a {
        display: flex;
        border-bottom: 1px solid #fff;
        background: #1a2f72;
        width: 100%;
        font-size: .95rem;
        padding: 13px 25px;
        color: #fff;
        justify-content: space-between;

        &::after {
            font-size: .8rem;
            display: block;
            font-family: FontAwesome;
            content: "\f105";
        }
    }
}

body.slim_doc {
    main {
        width: 1120px;
        margin: 0 auto;
        padding: 18px 0 55px;
    }

    h1 {
        background: #1a2f72;
        color: #fff;
        border-radius: 5px;
        padding: 9px 23px;
        font-size: 1.1rem;
        font-weight: normal;
        margin-bottom: 20px;
    }

    .legalBox {
        border: 1px solid #efece8;
        background: #fbf9f6;
        padding: 30px 45px 40px;
        line-height: 1.8;
    }

    .centerPrimeLink {
        display: block;
        background: #1a2f72;
        color: #fff;
        border-radius: 5px;
        padding: 8px 25px;
        width: fit-content;
        margin: 35px auto 0;
    }
}

.applicateForm {
    background: #f4f3f0;
    padding: 20px;

    .agreementBox {
        padding: 20px 0 0;
        line-height: 2.3;
        text-align: center;
        font-size: .9rem;
    }
}

.tableForm {
    font-size: 90%;

    td, th {
        border-color: #ddd;
        padding: 10px 15px;
        line-height: 1.7;
    }

    th {
        font-weight: normal;
        background: #fafafa;
        width: 25%;

        label {
            margin-right: 20px;
        }
    }

    td {
        background: #fff;
    }

    .required {
        background: #f5821f;
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 2px 7px;
        border-radius: 3px;
        font-size: 80%;
    }
    .optional {
        background: #8a8a8a;
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 2px 7px;
        border-radius: 3px;
        font-size: 80%;
    }

    input[type=text],input[type=date],input[type=tel],input[type=email],input[type=number],textarea,select {
        border: 1px solid #ddd;
        padding: 5px 7px;
        display: inline-block;
        border-radius: 3px;
    }

    .xLarge {
        width: 300px;
    }
    .xMini {
        width: 90px;
    }

    label:has(input[type=radio]) {
        cursor: pointer;
        display: inline-flex;
        align-items: center;
    }
    input[type=radio],input[type=checkbox] {
        margin-right: 7px;
    }

    .radioWrapper.horizontal {
        margin-right: 20px;
    }
}

.inputNote {
    color: rgb(216, 23, 55);
    font-size: .8rem;
}

.finBlock {
    .finIcon {
        color: #1A2F72;
        display: block !important;
        font-size: 3rem;
        margin: 20px auto;
        width: fit-content;
    }
    .finText {
        color: #1A2F72;
        text-align: center;
    }

    p {
        text-align: center;
        line-height: 1.9;
        width: 70%;
        margin: 20px auto;
    }

    .inputNote {
        font-size: 1rem;
    }

}


.confirmCautionaryNote {
    padding: 0 10px 20px;
    font-size: .9rem;
}

.btnBox {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px;

    .primaryBtn {
        border: 0;
        font-size: 100%;
        border-radius: 5px;
        padding: 17px 200px;
        color: #fff;
        background: #1a2c56;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .secondaryBtn {
        color: #1a2c56;
        border: 1px solid #1a2c56;
        background: #fff;
        border-radius: 5px;
        padding: 15px 50px;
        font-size: 100%;
        justify-content: center;
        align-items: center;
    }
}

table.ui-datepicker-calendar {
    td.holiday a {
        color: red;
    }
    td.saturday a {
        color: blue;
    }
}

@media screen and (min-width:641px) {
    .sp-only {
        display: none;
    }

    .sp-sticky-footer {
        display: none;
    }
}

@media screen and (max-width:640px){
    .pc-only {
        display: none !important;
    }

    img {
        max-width: 100%;
        height: auto;
        width: auto;
    }

    header {
        width: 100%;
        justify-content: space-between;
        padding: 15px 20px 11px;

        .homeLink {
            margin-right: 0;
        }

        .btn {
            display: none;
        }

        .globalNavOpener {
            color: #1a0dab;
            background: transparent;
            display: block;
            font-size: 1.5rem;
            border: 0;
            outline: 0;
        }

    }

    footer {
        padding-top: 15px;

        .publisher {
            width: 100%;
            margin-top: 8px;
            flex-direction: column;
            justify-content: space-between;
            align-items: flex-start;
            padding: 0 15px;

            .logo {
                width: 100%;
            }

            p {
                width: 100%;
                border-radius: 0;
                background: transparent;
                font-size: .85rem;
                padding: 15px 5px 0;
                line-height: 1.7;
            }
        }

        .official-notes {
            width: 100%;
            border-radius: 0;
            padding: 0 15px 15px;
            margin-top: 5px;

            .row {
                flex-direction: column;
                margin-bottom: 0;

                h3 {
                    font-size: .9rem;
                    margin: 14px 0 10px;
                    padding: 0 0 8px 6px;
                }

                &:nth-of-type(2) {
                    margin-bottom: 0;
                }

                .block {
                    width: 100%;
                }
            }
            .offices {
                .block {
                    margin-bottom: 0;
                }
                .office {
                    font-size: .8rem;

                    img {
                        width: 90px;
                        margin: 0 20px 0 10px;
                    }
                }
            }
            .contact-info {
                font-size: .85rem;
                line-height: 1.5;
                dt{
                    padding: 3px 0 3px 10px;
                    width: 30%;
                }
                dd{
                    padding: 3px 0 3px 5px;
                    width: 70%;
                }
                dt:last-of-type {
                    padding: 3px 0 3px 10px;
                    width: 30%;
                }
                dd:last-of-type {
                    padding: 3px 0 3px 10px;
                    width: 70%;
                }

                .info:first-child {
                    margin-top: 3px;
                }
            }
            .inter-page-links {
                font-size: .9rem;
                .links {
                    padding: 0 10px;

                    a {
                        display: block;
                    }
                }
            }
        }

        .copyrights {
            font-size: .7rem;
            margin-top: 0;
            padding: 5px 8px;
            /* margin-bottom: 70px; StickyFooterをつけるなら復活させる*/
        }
    }


    .breadcrumb {
        font-size: .75rem;
        padding-left: 5px;
        margin-bottom: 13px;
    }

    body.slim_doc {
        main {
            width: calc(100% - 20px);
            padding: 13px 0 35px;
        }

        h1 {
            padding: 7px 18px;
            font-size: 1rem;
            margin-bottom: 15px;
        }

        .legalBox {
            padding: 18px 18px 30px;
            line-height: 1.7;
            font-size: .9rem;
        }
        .centerPrimeLink {
            font-size: .85rem;
            margin: 25px auto 0;
        }
    }

    .applicateForm {
        padding: 10px 10px 20px;
    }

    .tableForm {

        td, th {
            display: block;
            border: 0;
            padding: 8px 15px;
            width: 100%;
        }

        td {
            padding: 8px 25px;
        }

        tr {
            display: block;
        }

        .inputNote {
          font-size: 80%;
          margin-top: 8px;
        }

        .xLarge {
            width: 100%;
        }

    }

    .finBlock {
        p {
            width: 90%;
        }

    }

    .btnBox {
        flex-direction: column-reverse;

        .primaryBtn {
            width: 100%;
            padding: 15px 0;
        }
        .secondaryBtn {
            width: 100%;
            padding: 15px 0;
        }
    }
}