/*--ページ全体のフォント--*/
body {
    font-family: "A+EqpB-游ゴシック体 Pr6N M", "Yu Gothic", 游ゴシック体, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, verdana, sans-serif;
    background-color: #FFFCFC;
}
/*-------------------------------------　ヘッダー部分のデザイン　-------------------------------------*/
/*--ヘッダー部分のデザイン--*/
.top_header {
    display: flex;
    background-color: #F5F5F5;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    white-space: nowrap;
    z-index: 1000;
    justify-content: space-between;
}
.logo {
    margin-left: 30px;
    margin-top: 28px;
}
.logo img{
    width: 150px;
}
/*--タブのデザイン--*/
.top_tab {
    display: flex;
    align-items: center;
    margin-right: 50px;
}
.consultation-link,
 .member-link, 
 .aboutus-link,
 .service-link,
 .doctor_search-link,
 .lifeplan-link,
 .colum-link {
    text-decoration: none;
}
/*--タブの間隔とフォントサイズ--*/
.consultation>.consultation-link,
.member_login>.member-link,
.our_story>.aboutus-link,
.service>.service-link,
.product_search>.product_search-link,
.life_plan>.lifeplan-link,
.column>.colum-link {
    margin-left: 50px;
    font-size: 15px;
    font-weight: bold;
    color: #4D4D4D;
    transition: color 0.3s ease;
    text-decoration: none;
}
/*--タブ押すの色変え--*/
.consultation > .consultation-link:hover,
.member_login > .member-link:hover,
.our_story > .aboutus-link:hover,
.service > .service-link:hover,
.product_search > .product_search-link:hover,
.life_plan > .lifeplan-link:hover,
.column > .colum-link:hover {
    color:#FDB2B7
}

/* ドロップダウンのデザイン */
.member_login {
    position: relative;
}
/* ドロップダウンの大きさと配置 */
.dropdown_content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 110px;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
    z-index: 1;
    left: 50%; 
    transform: translateX(-50%); 
    margin-top: 10px; 
    margin-left: 25px;
}

.dropdown_content a {
    color: #4D4D4D;
    padding: 10px 10px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}
.member_login_general {
    padding-bottom: 5px;
}
.member_login_doctor {
    padding-top: 5px;
}
.dropdown_content a:hover {
    color: #FDB2B7;
}

/* ドロップダウンの様式 */
.show {
    display: block;
}

/* アカウント */
.member-name {
    margin: 0;
    color: #4D4D4D;
    font-size:15px;
    font-weight: bold;
}
.account_button {
    display: flex;
    align-items: center;
    margin-left: 50px;
    padding-block: 0.5rem;
    padding-inline: 1rem;
    border-radius: 9999px;
    /* border-width: 1px;
    border-color: rgb(229, 233, 240); */
    border: 1px solid rgb(193, 193, 194);
    background: rgb(255, 255, 255);
    text-decoration: none;
    transition: 0.3s;
}
.account_button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/*-------------------------------------　会員登録のヘッダー部分　--------------------------*/
/*--タイトル--*/
.member-login-title {
    margin-top: 150px;
    text-align: center;
    color: #4D4D4D;
    font-size: xx-large;
    font-weight: bold;
    
}

/*-------------------------------------　会員登録のinputbox部分　-------------------------*/
/*--フォームの仕組み--*/
.menber-login-form-container {
    margin-top: 50px;
    margin-bottom: 30px;
}
.menber-element-form-inner {
    box-sizing: border-box;
    border: 1px solid #ededed;
    border-radius: 8px;
    background-color: white;
    max-width: 720px;
    margin: auto;
}
.menber-element-form-item {
    word-break: break-all;
}
/*--各グループの配置--*/
.menber-filed-name-group, 
.menber-filed-sex-group,
.menber-filed-birthday-group,
.menber-filed-phone-group,
.menber-filed-mail-group {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 35px;
}
.menber-filed-password-group {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 15px;
}
.menber-filed-name,
.menber-filed-sex,
.menber-filed-birthday,
.menber-filed-phone,
.menber-filed-mail,
.menber-filed-password {
    display: flex;
    margin-top: 20px;
    margin-bottom: 10px;
}

/*--各グループのタイトル--*/
.menber-filed-name-text,
.menber-filed-sex-text,
.menber-filed-birthday-text,
.menber-filed-phone-text,
.menber-filed-mail-text,
.menber-filed-password-text {
    color: #888A88;
    font-size: large;
    font-weight: bold;
    
}
.menber-filed-name-text-after::after,
/* .menber-filed-sex-text-after::after, */
/* .menber-filed-phone-text-after::after, */
.menber-filed-birthday-text-after::after,
.menber-filed-mail-text-after::after,
.menber-filed-password-text-after::after {
    content: "必須";
    box-sizing: border-box;
    margin-left: 8px;
    text-align: center;
    background-color: #e53935;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 0.25rem 0.4rem;
    border-radius: 0.4rem;
    vertical-align: text-bottom;
    white-space: nowrap;
}
/* .subtext {
    color: #888A88;
    font-size: small;
    font-weight: normal;
    
    line-height: 1.2em;
    margin-bottom: 10px;    
}
.subtext-special {
    color: #FF838C;
    font-size: small;
    font-weight: normal;
    
    line-height: 1.2em;
    margin-bottom: 10px;
} */

/*--各グループのinputboxの配置--*/
.menber-filed-name-inputbox,
.menber-filed-birthday-inputbox,
.menber-filed-phone-inputbox,
.menber-filed-mail-inputbox,
.menber-filed-password-inputbox {
    margin-bottom: 20px;
}
.menber-filed-name-inputbox-flex, .menber-filed-name-inputbox-flex-2 {
    display: flex;
}
.menber-filed-name-inputbox-flex {
    margin-bottom: 10px;
}
.name-sei, .name-sei-kara {
    margin-right: 0.5rem;
}
.sei, .mei, .sei-kara, .mei-kara {
    padding: 0.5rem 0.75rem;
    width: 309px;
    font-size: 1rem;
    font-weight: 400;
    
    line-height: 1.5;
    color: #4D4D4D;
    background-color: white;
    background-clip: padding-box;
    border: 1px solid #bdbdbd;
    appearance: none;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.birthday, .phone, .mail, .password {
    padding: 0.5rem 0.75rem;
    width: 651px;
    font-size: 1rem;
    font-weight: 400;
    
    line-height: 1.5;
    color: #4D4D4D;
    background-color: white;
    background-clip: padding-box;
    border: 1px solid #bdbdbd;
    appearance: none;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
/*--性別グループのinputboxの配置--*/
.menber-filed-sex-radio {
    margin-bottom: 20px;
    display: flex;
}
.regist-sex-women, .regist-sex-man {
    display: none;
}
.women {
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.75rem;
    line-height: 1.5;
    background-color: #fafafa;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    color: #888A88;
    margin-right: 0.5rem;
    flex-grow: 1;
    width: 309px;
    font-size: medium;
    font-weight: bold;
    
    cursor: pointer;
}
.man {
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.75rem;
    line-height: 1.5;
    background-color: #fafafa;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    color: #888A88;
    flex-grow: 1;
    width: 309px;
    font-size: medium;
    font-weight: bold;
    
    cursor: pointer;
}
/* label[for] {
    cursor: pointer;
}
input[type="radio"]:checked + label.women {
    background-color: #F9E3DA;
    border-color: #FF838C;
    color: #FF838C;
}
input[type="radio"]:checked + label.man {
    background-color: #d6e8fc;
    border-color: #67b0ff;
    color: #67b0ff;
} */
.women.selected {
    background-color: #F9E3DA;
    border-color: #FF838C;
    color: #FF838C;
}
.man.selected {
    background-color: #d6e8fc;
    border-color: #67b0ff;
    color: #67b0ff;
}

/*--各グループのinputboxの背景文字--*/
.sei::placeholder, 
.mei::placeholder, 
.sei-kara::placeholder,
.mei-kara::placeholder,
.birthday::placeholder,
.phone::placeholder,
.mail::placeholder,
.password::placeholder {
    font-size: medium;
    color: #bdbdbd;
    
    font-family: "A+EqpB-游ゴシック体 Pr6N M", "Yu Gothic", 游ゴシック体, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, verdana, sans-serif; 
}
.sei:focus, 
.mei:focus,
.sei-kara:focus,
.mei-kara:focus,
.birthday:focus,
.phone:focus,
.mail:focus,
.password:focus {
    border-color: #67b0ff; /* フォーカスするときの色 */
    outline: none; 
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25); /* シャドウ効果 */
}
hr {
    border: none;
    background-color: #EAEAEA;
    height: 1px;
}

/*--inputboxは何も入力してない場合のデザイン--*/
.error {
    border-color: #e53935;
}
.success {
    border-color: #43A047;
}
.invalid-feedback {
    width: 100%;
    margin-top: 0.25em;
    font-size: 0.875em;
    color: #e53935;
    
}
/*-------------------------------------　会員登録のcheckbox部分　-------------------------*/
.menber-checkbox-group,
.personal-information-notice-group {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 35px;
}
input[type=checkbox] {
    display: none;
}
.mail-accept-checkbox,
.agree-checkbox-label {
    position: relative;
    padding-left: 30px;
    background-color: white !important;
    cursor: pointer;
    user-select: none;
}
.mail-accept-checkbox::before,
.agree-checkbox-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2em;
    height: 1.2em;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 3px;
}
input[type="checkbox"]:checked + .mail-accept-checkbox::before,
input[type="checkbox"]:checked + .agree-checkbox-label::before {
    background-color: white;
    border-color: #FF838C;
}
input[type="checkbox"]:checked + .mail-accept-checkbox::after,
input[type="checkbox"]:checked + .agree-checkbox-label::after {
    content: "";
    position: absolute;
    left: 0.45em;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 0.25em;
    height: 0.5em;
    border: 1px solid #FF838C;
    border-width: 0 0.2em 0.2em 0;
}
.mail-accept-checkbox:hover::before,
.agree-checkbox-label:hover::before {
    border-color: #FF838C;
}

.mail-accept-checkbox:active::before,
.agree-checkbox-label:active:before {
    background-color: #e6e6e6;
}
.menber-checkbox-group > label {
    color: #888A88;
    font-size: medium;
    font-weight:  bold;
    
}
/*-------------------------------------　会員登録の個人情報の部分　-------------------------*/
.personal-information-notice-group {
    margin-top: 30px;
    text-align: center;
}
.personal-information-notice-text {
    color: #888A88;
    font-size: medium;
    font-weight: bold;
    
}
.personal-information-notice-link {
    color: #FF838C;
}
.personal-information-notice-link:hover {
    color: #67b0ff;
}
/*-------------------------------------　会員登録のボタン部分　-------------------------------------*/
.submit-button-group {
    display: grid;
    margin-top: 1em;
    margin-bottom: 1em;
    text-align: center;
    justify-content: center;
}
.submit-button {
    width: 450px;
    font-size: 1.15rem;
    font-weight: lighter;
    
    color: white;
    background-color: #FF838C;
    padding: 1rem 4rem;
    border: 1px solid #FF838C;
    border-radius: 0.5rem;
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}
.submit-button:hover {
    background-color: #FDB2B7;
    border: 1px solid #FF838C;
}

/*-------------------------------------　ログインへ　-------------------------------------*/
.go-to-login {
    text-align: center;
    color: #888A88;
    font-size: small;
    font-weight: bold;
    
    margin-bottom: 30px;
}
.login-link::before {
    content: "➤";
    color: #FF838C;
}
.login-link {
    text-decoration: none;
    color: #FF838C;    
}
.login-link:hover {
    color: #67b0ff;
}

/*-------------------------------------　フッター部分　-------------------------------------*/
.menber-form-footer {
    color: rgb(126, 126, 126); 
    text-align: center;   
}
.copyright {
    font-size: 0.75rem;
    
}


/*-------------------------------------　ポップアップ　-------------------------------------*/
.confirm-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    font-family: "A+EqpB-游ゴシック体 Pr6N M", "Yu Gothic", 游ゴシック体, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, verdana, sans-serif;
    
}


.popup-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-height: 80vh; /* max-heightは８０％に設定 */
    overflow-y: auto; 
    display: flex;
    flex-direction: column;
}

.popup-content h2 {
    margin-bottom: 15px;
}
.pop-up-text {
    margin-bottom: 20px;
}
.pop-up-text > span {
    color: #f44336;
}

.popup-content div {
    color: #4D4D4D;
}
.pop-up-title {
    margin-top: 0px;
    color: #4D4D4D;
}
.pop-up-name,
.pop-up-name-kana,
.pop-up-gender,
.pop-up-birthday,
.pop-up-phone,
.pop-up-email,
.pop-up-password,
.pop-up-mailnotice {
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
    background-color: #F5F5F5;
}
.pop-up-name-after::after,
.pop-up-name-kana-after::after,
.pop-up-birthday-after::after,
.pop-up-email-after::after,
.pop-up-password-after::after
{
    content: "必須";
    box-sizing: border-box;
    margin-left: 5px;
    text-align: center;
    background-color: #e53935;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 0.20rem 0.35rem;
    border-radius: 0.4rem;
    vertical-align: middle;
    white-space: nowrap;
}
.pop-up-name > strong,
.pop-up-name-kana > strong,
.pop-up-gender > strong,
.pop-up-birthday > strong,
.pop-up-phone > strong,
.pop-up-email > strong,
.pop-up-password > strong,
.pop-up-mailnotice > strong {
    margin-left: 10px;
}
.pop-up-name-value,
.pop-up-name-kana-value,
.pop-up-gender-value,
.pop-up-birthday-value,
.pop-up-phone-value,
.pop-up-email-value,
.pop-up-password-value,
.pop-up-mailnotice-value {
    margin-left: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.popup-buttons {
    display: flex;
    justify-content: center; 
    margin-top: 30px;
}
.popup-content button {
    text-align: center;
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    font-family: "A+EqpB-游ゴシック体 Pr6N M", "Yu Gothic", 游ゴシック体, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, verdana, sans-serif;
    
    cursor: pointer;
}

.pop-up-confirm-button {
    background-color: #4CAF50;
    color: white;
    transition: 0.5s ease;
}
.pop-up-confirm-button:hover {
    opacity: 0.7;
}

.pop-up-cancel-button {
    background-color: #f44336;
    color: white;
    transition: 0.5s ease;
}
.pop-up-cancel-button:hover {
    opacity: 0.7;
}

body {
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

