﻿:root {
    /* --- CSS変数 --- */
    /* カラー */
    --main-color: #1a865d;
    --sub-color: #29a040;
    --font-color: #333; /* 注）真っ黒は使わない */
    --bg-color: #eee;
    --main-background-color-1: #f9f9f9;
    --main-background-color-2: #ffffff;
    --bg-subpage: #f6f6f6; /* サブページの背景色 */
    --bg-gradation-green: linear-gradient(#99c66a, #ccffd3) fixed;
    --bg-gradation-blue: linear-gradient(#238ccc, #c5e5ee) fixed;
    --bg-gradation-yellow: linear-gradient(#ffe5ae, #ffffff) fixed;
    --bg-gradation-cool: linear-gradient(#cbd5ee, #eeeeee) fixed;
    --bg-gradation-gold: linear-gradient(#c49e54, #feefea) fixed;
    /* システムテーマカラー */
    --system-color-ordering: rgba(164,201,92,.7); /* 診療部 */
    --system-color-nurse: rgba(228,107,139,.7); /* 看護部・手術部 */
    --system-color-team: rgba(224,77,146,.7); /* チーム医療 */
    --system-color-technical: rgba(121,199,236,.7); /* 医療技術部門 */
    --system-color-assistant: rgba(206,169,109,.7); /* 事務部門 */
    --system-color-kaigo: rgba(199,0,10,.7); /* 介護部門 */
    --system-color-other: rgba(105,181,87,.7); /* その他 */
    /* 文字サイズ */
    --font-size-xsmall: 12px;
    --font-size-small: 14px;
    --font-size-medium: 16px;
    --font-size-large: 18px;
    --font-size-xlarge: 20px;
    /* 文字フォント */
    /* --font-family:'Noto Sans JP' */
}

.ssi-font-alphanumeric {
    font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/* 規約同意 */
.consent {
    width: 100%;
    /*    height: 100%;
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
    background-color: var(--main-background-color-2);*/

    text-align: left;
    font-size: 1.3rem;
    line-height: 2.2rem;
}

.content-title-area {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    align-content: stretch;
    justify-content: center;
    flex-direction: column;
}

    .content-title-area .ssi-contact-item {
        display: block;
        text-align: center;
        margin-top: 1.5rem;
    }

.btn-area {
    width: 100%;
    text-align: center;
}

    .btn-area .btn {
        cursor: pointer;
    }
    .btn-area .btn:hover {
        opacity:0.8;
    }


.section-wrap {
    margin: 0 auto;
    width: 90%;
    max-width: 1100px;
}

.content-title {
    font-size: var( --font-size-medium);
}

@media screen and (max-width: 768px) {
    .section-wrap {
        margin: 0;
        margin-left: 3vw;
        margin-right: 3vw;
        padding: 0;
    }
}


.textBlock {
    margin-bottom: 2rem;
}

.center-button-area {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .center-button-area button:nth-child(n + 2) {
        margin-left: 4rem;
    }

    .center-button-area button {
        font-size: 1.4rem;
        font-weight: lighter;
        min-height: 68px;
        border-radius: 2px;
        transition: 0.3s;
        border-width: 2px;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        padding-left: 2rem;
        padding-right: 2rem;
    }

        .center-button-area button:hover {
            opacity: 0.6;
        }

    .center-button-area .btn-type-01 {
        color: #fff;
        background-color: var(--main-color);
        border-color: var(--main-color);
    }

    .center-button-area .btn-type-02 {
        color: var(--main-color);
        background-color: rgb(240, 240, 240);
        border-color: rgb(240, 240, 240);
    }


@media screen and (max-width: 768px) {
    .center-button-area {
        width: 100%;
    }

        .center-button-area button:nth-child(n + 2) {
            margin-left: 0;
        }

        .center-button-area button {
            width: 100%;
            padding-top: 2rem;
            padding-bottom: 2rem;
        }
}


h3 {
    font-size: 3.4rem;
    margin-bottom: 20px;
    color: #A1A3A6;
    margin-top: 3rem;
}

.ssi-radio {
    display: inline-block;
    position: relative;
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 24px;
}

.ssi-radio-input {
    position: absolute;
    top: 4px;
    left: 0;
    width: 36px;
    height: 20px;
    opacity: 0;
    z-index: 0;
    cursor: pointer;
}

.ssi-radio-label {
    display: block;
    padding: 0 0 0 24px;
    cursor: pointer;
}

    .ssi-radio-label:before {
        content: '';
        position: absolute;
        top: 4px;
        left: 0;
        width: 16px;
        height: 16px;
        background-color: transparent;
        border: 2px solid rgba(0, 0, 0, .54);
        border-radius: 14px;
        z-index: 1;
        transition: border-color 0.28s cubic-bezier(.4, 0, .2, 1);
    }

    .ssi-radio-label:after {
        content: '';
        position: absolute;
        top: 8px;
        left: 4px;
        width: 8px;
        height: 8px;
        background-color: #3f51b5;
        border-radius: 50%;
        z-index: 2;
        transform: scale(0, 0);
        transition: transform 0.28s cubic-bezier(.4, 0, .2, 1);
    }

/*// Checked*/
.ssi-radio-input:checked + .ssi-radio-label:before {
    border-color: #3f51b5;
}

.ssi-radio-input:checked + .ssi-radio-label:after {
    transform: scale(1, 1);
}

.ssi-text-area {
    padding: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .ssi-text-area {
        margin: 0;
        max-width: calc(100% - 40px);
    }
}

.ssi-text-box {
    padding: 1rem;
}

@media screen and (max-width: 768px) {
    .ssi-text-box {
        margin: 0;
        max-width: calc(100% - 40px);
    }
}

.ssi-style-width-100per {
    width: 100%;
}

.ssi-contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: calc(100% - 20px);
}

@media screen and (max-width: 768px) {
    .ssi-contact-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0.5rem;
    }
}

.ssi-contact-item .ssi-contact-item-inner {
    margin-left: 1rem;
    margin-right: 1rem;
}

.ssi-contact-item-annotation {
    font-size: var(--font-size-small);
    font-weight: bold;
    padding-left: 3rem;
}

.content-item-error-list {
    list-style-type: none;
    padding-left: 4rem;
    border: solid 2px #BA211C;
    border-left: solid 5px #BA211C;
    border-radius: 4px;
    background-color: #FCE2E1;
    max-width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
}

.content-item-error-list-item {
    padding-left: 3rem;
    padding-right: 1rem;
    color: #BA211C;
    margin-top: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

    .content-item-error-list-item:before {
        content: '　';
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="%23BA211C" d="m40-120 440-760 440 760H40Zm138-80h604L480-720 178-200Zm302-40q17 0 28.5-11.5T520-280q0-17-11.5-28.5T480-320q-17 0-28.5 11.5T440-280q0 17 11.5 28.5T480-240Zm-40-120h80v-200h-80v200Zm40-100Z"/></svg>');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        width: 20px;
        display: block;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        text-align: center;
    }


/* material design text box */
.ssi-md-textfield {
    position: relative;
    height: 58px;
    width: 100%;
}

    .ssi-md-textfield .ssi-md-input {
        border: none;
        outline: none;
        /*        padding: 1rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;*/
        padding: 0;
    }

    .ssi-md-textfield .ssi-md-placeholder {
        position: absolute;
        pointer-events: none;
        left: 12px;
        transform-origin: 0;
        transition: 0.3s;
    }

    .ssi-md-textfield:not(:has(.ssi-md-input:focus)) .ssi-md-placeholder,
    .ssi-md-textfield:has(.ssi-md-input:placeholder-shown) .ssi-md-placeholder {
        top: 50%;
        transform: translateY(-50%);
        color: gray;
    }

    .ssi-md-textfield:has(.ssi-md-input:focus) .ssi-md-placeholder,
    .ssi-md-textfield:not(:has(.ssi-md-input:placeholder-shown)) .ssi-md-placeholder {
        top: 2px;
        transform: scale(0.8);
    }

    .ssi-md-textfield:has(.ssi-md-input:focus) .ssi-md-placeholder {
        color: blue;
    }

    .ssi-md-textfield .ssi-md-input {
        width: 100%;
        height: 100%;
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 16px;
    }

    .ssi-md-textfield .outline {
        position: absolute;
        inset: 0;
        pointer-events: none;
        transition: 0.3s;
    }

    .ssi-md-textfield:not(:has(.ssi-md-input:focus)) .ssi-md-outline {
        border-bottom: gray solid 1px;
    }

    .ssi-md-textfield:has(.ssi-md-input:focus) .ssi-md-outline {
        border-bottom: blue solid 1px;
    }



.content-item-error-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    padding-left: 1rem;
    border: solid 2px #BA211C;
    border-left: solid 5px #BA211C;
    border-radius: 4px;
    background-color: #FCE2E1;
    max-width: calc(100%);
    /*margin-left: 20px;*/
    /*margin-right: 20px;*/
    margin-bottom: 2rem;
}

.content-item-error-list-item {
    padding-left: 3rem;
    padding-right: 1rem;
    color: #BA211C;
    margin-top: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

    .content-item-error-list-item:before {
        content: '　';
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="%23BA211C" d="m40-120 440-760 440 760H40Zm138-80h604L480-720 178-200Zm302-40q17 0 28.5-11.5T520-280q0-17-11.5-28.5T480-320q-17 0-28.5 11.5T440-280q0 17 11.5 28.5T480-240Zm-40-120h80v-200h-80v200Zm40-100Z"/></svg>');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        width: 20px;
        display: block;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        text-align: center;
    }
