@charset "utf-8";

/*-------------------------------------------------------------------------
フォーム部品
-------------------------------------------------------------------------*/

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"] {
    height: 30px;
    background-color: #fff;
    border: 1px solid var(--line-color);
    border-radius: var(--border-radius);
    padding: 0 0 0 10px;
}
input[type="text"],
input[type="password"] {
    width: 100%;
}
input[type="tel"],
input[type="email"] {
    width: 367px;
}
select {
    height: 30px;
    background-color: #fff;
    border: 1px solid var(--line-color);
    border-radius: var(--border-radius);
    padding: 0 0 0 10px;
}
textarea {
    width: 100%;
    height: 60px;
    border: 1px solid var(--line-color);
    border-radius: var(--border-radius);
}

/*-------------------------------------------------------------------------
LOGIN
-------------------------------------------------------------------------*/

.login {
    padding: 35px 0;
}
.login__headline {
    margin: 0 0 88px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}
.login__contents {
    width: 310px;
    margin: auto;
}
.login__message {
    margin: 0 0 10px;
    color: red;
    font-weight: bold;
}
.login__list {
    margin: 0 0 14px;
}
.login__ttl {
    margin: 0 0 3px;
    font-weight: 700;
}
.pass-forget {
    margin: 7px 0 0;
}
.pass-forget a {
    text-decoration: underline;
}
.login-submit {
    width: 100%;
    background-color: var(--main-color);
    border-radius: var(--border-radius);
    margin: 62px 0 0;
    padding-block: 8px 9px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    cursor     : pointer;
}
.reset_password {
    margin: 0 auto 20px;
    text-align: left;
    width: 450px;
}
.reset_password_message {
    margin: 0 auto 20px;
    text-align: left;
    width: 350px;
}
.reset-submit {
    width: 100%;
    background-color: var(--main-color);
    border-radius: var(--border-radius);
    margin: 62px 0 0;
    padding-block: 8px 9px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}

/*-------------------------------------------------------------------------
共通フォームリスト
-------------------------------------------------------------------------*/
.form-panel {
    display: grid;
    gap: 13px;
    grid-template-columns: max-content 1fr;
}

/* LAYOUT
--------------------------- */
.form-list {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: span 2;
}
.form-list__ttl {
    min-width: 150px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 7px 0 0;
    font-size: 12px;
    font-weight: 700;
}
.form-list__status-requiery {
    height: fit-content;
    background-color: var(--caution-color);
    border-radius: var(--border-radius);
    padding: 5px 10px;
    position: relative;
    top: -3px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    line-height: 1.1;
}
.form-list__caution {
    margin: 0 0 0 5px;
    font-size: 10px;
    color: var(--caution-color);
}
.form-list__contents {
    width: 554px;
}
.form-list__contents > #personalName {
    margin-top: 3px;
}
.form-list__contents > * + *:not(.form-list__name, select, input) {
    margin: 10px 0 0;
}
.form-list__contents > .form-list__name {
    width: 49%;
}
.form-list__contents.form-list__username {
    display: flex;
}
.form-list__contents.form-list__address {
    margin: 10px 0;
}
#invitedUserPersonalName {
    margin-left: 10px;
}
.form__separate {
    border-top: 1px solid var(--line-color);
    padding: 10px 0 0;
}
.form__name {
    display: grid;
    gap: 7px;
    grid-template-columns: 1fr 1fr;
}
.form__address-num input[type="text"],
.form__address-detail input[type="text"]:nth-child(1) {
    width: 179px;
}
.form__address-detail {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}
.form__address-detail select {
    width: 100%;
}

/* フォームのエラー */
.errormsg b {
    color: var(--caution-color) !important;
}

.notification {
    margin: 0 0 55px;
}
.notification > * + * {
    margin: 4px 0 0;
}
.notification__message {
    background-color: #FEF7B9;
    border-radius: var(--border-radius);
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px;
    font-size: 12px;
}
.notification__message svg {
    width: 14px;
    height: 14px;
    fill: var(--yellow);
}
