@charset "utf-8";

:root {
    /* ヘッダー色 */
    --header-back-color: #5b5d61;
    /* サイドバー色 */
    --side-back-color: #393E46;
    --side--font-color:#EEEEEE; 
    /* パンくずリスト色 */
    --back-breadcrumbs-color : #ecf0f1;
    --breadcrumbs-font-color: #393E46;
    /* 共通ボーダー色 */
    --border-color: #EEEEEE;
}

header {
    background-color: var(--header-back-color)
}

.side-container {
    background-color: var(--side-back-color);
    border-right: var(--border-color) solid 0.5px;
}

.side-contents {
    border-bottom: var(--border-color) solid 0.5px;
}

.side-contents>a,
.side-contents>span {
    color: var(--side--font-color);
}

.breadcrumbs-container {
    background-color: var(--back-breadcrumbs-color);
}

.breadcrumbs>a {
    color: var(--breadcrumbs-font-color);
}

.gridtitle-container {
    border-bottom: var(--border-color) solid 0.5px;
}

.address-input-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.postal-code-input {
    display: flex;
    gap: 10px;
}

.address-search-btn {
    padding: 0 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-search-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.address-search-btn .material-icons {
    font-size: 20px;
}

/* 読み取り専用フィールドのスタイル */
input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* 必須マークのスタイル調整 */
.input-required {
    color: #ff4444;
    margin-left: 5px;
    font-size: 0.9em;
}


@media screen {
    :root {
        --font-color-black: #525252;
    }

    /* 
        全体共通
    */
    * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    html,
    body {
        height: 100%;
    }

    textarea {
        font-family: "Noto Sans JP", sans-serif;
    }

    body {
        color: var(--font-color-black);
        font-family: "Noto Sans JP", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        font-kerning: normal;
        line-height: 1.5;
        font-size: 1rem;
        background-color: #f3f2f2;
    }

    img {
        object-fit: contain;
        width: 100%;
        height: auto;
    }

    /* 
        企業登録画面
    */
    .body-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .container {
        width: 100%;
        max-width: 1210px;
        min-height: 600px;
        margin: 0 auto;
    }

    .box {
        display: flex;
        justify-content: center;
    }

    #right-content {
        width: 100%;
        max-width: 700px;
    }

    .content-header {
        background-color: #fff;
        border-radius: 10px;
        margin-bottom: 20px;
        padding: 20px;
        display: flex;
        flex-direction: column;
    }

    .content-header-main {
        color: #363636;
        font-size: 1.25rem;
        font-weight: 700;
    }

    .content-header-sub {
        color: #595959;
        font-size: 1rem;
        font-weight: 600;
    }

    .content-wrapper {
        padding: 10px 32px;
        background-color: #fff;
        border-radius: 10px;
    }

    @media screen and (max-width: 768px) {
        .content-wrapper {
            border: none;
        }
    }

    /* 
        入力フィールド共通
    */
    .input-field {
        margin-top: 16px;
    }

    .input-field-top {
        margin-top: 0 !important;
    }

    .input-header {
        font-size: 0.875rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        color: #363636;
    }

    .input-helper {
        font-size: 0.8rem;
    }

    .input-helper > a {
        font-weight: 600;
        color: #595959;
    }

    .input-main {
        @media screen and (max-width: 768px) {
            padding-left: 0px;
        }
    }

    .input-required {
        font-weight: 400 !important;
        color: #c93c58;
        font-size: 0.75rem;
        padding-left: 9px;
    }

    .input-box {
        width: 100%;
        display: inline-block;
        min-height: 40px;
        padding: 4px 7.5px;
        font-size: 0.875rem;
        line-height: 1.5;
        color: #08131a;
        vertical-align: top;
        background: #fff;
        border: 1px solid rgba(8, 19, 26, 0.1411764705882353);
        border-radius: 4px;
        -webkit-appearance: none;
        appearance: none;
        font-family: "Noto Sans JP", sans-serif;
    }

    .input-box:disabled {
        background: #dfdfdf;
    }

    .input-message {
        font-weight: 400 !important;
        color: #c93c58;
        font-size: 0.75rem;
        padding-left: 9px;
    }

    /* 
        住所入力エリア
    */
    .address-input-container {
    }

    .postal-code-input {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .address-search-btn {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 4px 12px;
        background-color: #fff;
        border: 1px solid rgba(8, 19, 26, 0.1411764705882353);
        border-radius: 4px;
        cursor: pointer;
        font-size: 0.875rem;
        color: #08131a;
        white-space: nowrap;
    }

    .address-search-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    /* 
        ボタン
    */
    .main-btn {
        margin-top: 16px;
        width: 100%;
    }

    .submitBtn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
        background-color: #5bc8ac;
        color: #fff;
        border: none;
        border-radius: 4px;
        font-weight: bold;
        font-size: 1rem;
        cursor: pointer;
        font-family: "Noto Sans JP", sans-serif;
    }

    .submitBtn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .submitBtn:hover:not(:disabled) {
        background-color: #4ab899;
    }

    .icon-btn {
        padding-right: 8px;
        font-style: normal !important;
    }

    /* 
        その他
    */
    .warning {
        color: #d63636;
        font-size: 12px;
    }

    .loginhelp {
        margin-top: 24px;
        border-top: 1px solid rgba(8, 19, 26, 0.1411764705882353);
    }

    .loginhelp-inner {
        padding: 24px 0 0;
        text-align: center;
    }

    .loginhelp-btn {
        font-size: 0.875rem;
        color: rgba(8, 19, 26, 0.6588235294117647);
        text-decoration: none;
    }

    .loginhelp-btn:hover {
        text-decoration: underline;
    }

    /* 
        Material Icons
    */
    .material-icons {
        font-family: 'Material Icons';
        font-weight: 400;
        font-style: normal;
        font-size: 24px;
        display: inline-block;
        line-height: 1;
        text-transform: none;
        letter-spacing: normal;
        word-wrap: normal;
        white-space: nowrap;
        direction: ltr;
    }

    .material-symbols-outlined {
        font-family: 'Material Symbols Outlined';
        font-weight: 400;
        font-style: normal;
        font-size: 24px;
        display: inline-block;
        line-height: 1;
        text-transform: none;
        letter-spacing: normal;
        word-wrap: normal;
        white-space: nowrap;
        direction: ltr;
    }

    /* 
        レスポンシブ対応
    */
    @media screen and (max-width: 768px) {
        .container {
            min-height: auto;
        }

        .content-wrapper {
            padding: 10px 16px;
        }

        .input-box {
            font-size: 1rem;
        }
    }
}