/*--ページ全体のフォント--*/
body {
    font-family: "A+EqpB-游ゴシック体 Pr6N M", "Yu Gothic", 游ゴシック体, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, verdana, sans-serif;

}
/*-------------------------------------　ヘッダー部分のデザイン　-------------------------------------*/
/*--ヘッダー部分のデザイン--*/
.top_header {
    display: flex;
    background-color: #F5F5F5;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    white-space: nowrap;
    justify-content: space-between;
}
/*--LOGOの位置--*/
.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);
}

/*-------------------------------------　ログインフォーム部分のデザイン　-------------------------------------*/
/*--フレームワーク--*/
.login_container {
    max-width: 732px;
    padding: 0 16px 10px;
    margin: 0 auto;
}
.login_main {
    margin: 0 auto;
}
.login_title {
    margin-top: 100px;
    font-size: 20px;
    color: #4D4D4D;
    
}
.login_form {
    margin-top: 30px;
    padding: 15px;
    background-color: #F5F5F5 ;
}
.login_inner {
    margin-top: 20px;
    padding: 15px;
    background-color: white;
    box-shadow: 0 1px 3px 0 rgba(88, 88, 88, 0.3);
}
.login_wrap {
    text-align: left;
}

/*--枠内の文字の配置--*/
.form_member_title > h1 {
    margin: 0;
    padding: 0;
    color: #4D4D4D;
    font-size: 15px;
    font-weight: bold;
    
}
.form_member_text > p {
    margin: 0;
    padding: 0;
    margin-top: 20px;
    font-size: 13px;
    color: #4D4D4D;
    
}

/*--inputboxのareaのデザイン--*/
.login_input_area {
    text-align: center;
}
.email {
    width: 100%;
    max-width: 320px;
    margin-top: 20px;
    line-height: 1.5;
    
    padding: 8px;
    color: #4D4D4D;
    border-radius: 0.5rem;
    background-clip: padding-box;
    border: 1px solid #bdbdbd;
    appearance: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.password {
    width: 100%;
    max-width: 320px;
    margin-top: 0px;
    line-height: 1.5;
    
    padding: 8px;
    color: #4D4D4D;
    border-radius: 0.5rem;
    background-clip: padding-box;
    border: 1px solid #bdbdbd;
    appearance: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.email::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;
}
.email:focus,
.password:focus {
    border-color: #67b0ff; /* フォーカスするときの色 */
    outline: none; 
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25); /* シャドウ効果 */
}

.password_inputbox {
    margin-top: 20px;
    position: relative;
    display: inline-block;
    width: 100%;
}

/*--ログインボタンのデザイン--*/
.login_button {
    font-size: 13px;
    margin: 30px auto 0;
    max-width: 300px;
    border: 1px solid #FF838C;
    background-color: #FF838C;
    border-radius: 20px;
    text-align: center;
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}
.login_button > a {
    display: block;
    padding: 10px;
    color: white;
    font-weight: bold;
    
    text-decoration: none;
}
.login_button:hover {
    border: 1px solid #FF838C;
    background-color: white;
}
.login_button > a:hover {
    color: #FF838C;
}

/*--パスワードをの再設定リンク--*/
/* .member_password_recreate {
    text-align: center;
    margin-top: 20px;
}
.member_password_recreate > a {
    font-size: 12px;
    font-weight: bold;
    color: #67b0ff;
    text-decoration: none;
    transition: color 0.5s ease;
}
.member_password_recreate > a:hover {
    color: #FF838C;
} */
 .member_password_recreate_display {
    display: flex;
    align-items: center;
    justify-content: center;
 }
.member_password_recreate {
    display: inline-block;
    margin-top: 20px;
    word-break: break-all;
    padding: 0px;
    background: inherit;
    border: none;
    appearance: none;
    cursor: pointer;
    transition: color 0.15s ease 0s;
    font-size: 12px;
    font-weight: bold;
    color: #67b0ff;
    
    transition: 0.3s;
}
.member_password_recreate:hover {
    color: #FF838C;
}


/*-------------------　パスワード再設定によりユーザー検証ポップアップ　-------------------------------------*/
.password_recreate_popup {
    position: fixed;
    top: 0px;
    left: 0px;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 1001;
    background-color: rgba(34, 51, 68, 0.6);
    overscroll-behavior: none;
    overflow-y: scroll;
    scrollbar-width: none;
    touch-action: none;
}
.popup_container {
    display: flex;
    width: 100%;
    height: calc(100% + 1px);
    justify-content: center;
}

@media screen and (min-width: 640px) {
    .popup_display {
        justify-content: center;
        align-items: center;
    }
}
.popup_display {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 640px) {
    [data-modal-type="modal"] > .popup_inner {
        width: 100%;
        height: auto;
        max-width: 40rem;
        min-height: 20rem;
        max-height: 80%;
        margin-inline: 1rem;
        border-radius: 0.5rem;
    }
}
[data-modal-type="modal"] > .popup_inner {
    width: 100%;
    /* height: 100%; */
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}
.popup_inner {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: white;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
    isolation: isolate;
}
@media screen and (min-width: 640px) {
    .popup_header_display {
        padding-inline: 1rem;
    }
}
@media screen and (min-width: 1024px) {
    .popup_header_display {
        padding-block: 1rem;
    }
}
.popup_header_display {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    /* padding-block: 0.5rem;
    padding-inline: 0.5rem; */
    background: rgb(255, 255, 255);
    border-bottom-width: 1px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 3px 0px 
}
.popup_header {
    display: flex;
    align-items: center;
    min-height: 3rem;
}
@media screen and (min-width: 640px) {
    .popup_header_title {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}
.popup_header_title {
    color: #4D4D4D;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: bold;
    
    margin: 0;   
}
.popup_header_line {
    display: flex;
    flex-grow: 1;
}
.popup_header_button {
    display: flex;
    appearance: unset;
    justify-content: center;
    align-items: center;
    border-radius: 99999px;
    /* transition: all 0.2s ease 0s; */
    width: 48px;
    height: 48px;
    transform: rotate(-45deg);
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1.5;
    padding: 16px;
    font-size: 1rem;
    border: 1px solid #FF838C;
    background: #FF838C;
    color: white;
    text-align: left;
    white-space: inherit;
    transition: 0.3s;
}
.popup_header_button:hover,
.popup_header_button:focus {
    background-color: #FDB2B7;
    box-shadow: rgba(247, 167, 204, 0.445) 0px 1px 1px, rgba(247, 167, 204, 0.699) 0px 8px 32px;
}

.pupup_button_mark {
    display: inline-block;
    flex-shrink: 0;
    /* width: 1em;
    height: 1em; */
    font-size: 1.8rem;
    font-weight: lighter;
    /* background: currentcolor; */
}
.popup_main_display {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: scroll;
    overscroll-behavior-y: contain;
}
@media screen and (min-width: 640px) {
    .popup_main{
        padding-top: 1.5rem;
        padding-inline: 1rem;
    }
}
.popup_main {
    padding-bottom: 3rem;
}
.popup_main_text_1 {
    display: block;
    color: #4D4D4D;
    width: 100%;
    word-break: break-all;
    font-size: 0.875rem;
    font-weight: bold;
    
}
.popup_main_text_2 {
    display: block;
    color: #4D4D4D;
    margin-top: 4px;
    width: 100%;
    word-break: break-all;
    font-size: 0.875rem;
    
}
.popup_inputarea {
    display: block;
    margin-top: 40px;
}
.popup_inputarea_display {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.popup_email_area,
.popup_birthday_area,
.popup_name_area {
    display: block;
}
.email_area_text,
.birthday_area_text,
.name_area_text {
    display: block;
    margin-bottom: 8px;
    width: 100%;
    word-break: break-all;
    font-size: 0.75rem;
    font-weight: bold;
    color: rgb(119, 136, 153);
    
}
.email_address,
.birthday {
    display: block;
    width: 94.5%;
    padding: 16px;
    border-radius: 8px;
    line-height: 1.125rem;
    font-size: 1rem;
    font-weight: bold;
    outline: 0px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(229, 233, 240);
    color: #4D4D4D;
    
}
/* nameの部分のinputbox */
.name_area_display {
    display: flex;
    justify-content: flex-start;
    column-gap: 16px;
}
.sei_area,
.mei_area {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.sei, .mei {
    display: block;
    /* flex-grow: 1; */
    appearance: none;
    padding: 16px;
    border-radius: 8px;
    line-height: 1.125rem;
    font-size: 1rem;
    font-weight: bold;
    outline: 0px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(229, 233, 240);
    color: #4D4D4D;
    
}
.email_address::placeholder,
.birthday::placeholder {
    font-size: medium;
    color: #bdbdbd;
    
    font-family: "A+EqpB-游ゴシック体 Pr6N M", "Yu Gothic", 游ゴシック体, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, verdana, sans-serif; 
}
.email_address:focus,
.birthday:focus,
.sei:focus,
.email:focus {
    border-color: #67b0ff; /* フォーカスするときの色 */
    outline: none; 
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25); /* シャドウ効果 */
}
/* エラーメッセージ */
.input_error_message {
    width: 100%;
    margin-top: 0.25em;
    font-size: 0.875em;
    color: #e53935;
    
}
/*--inputboxは何も入力してない場合のデザイン--*/
.error {
    border-color: #e53935;
}
.success {
    border-color: #43A047;
}

.popup_buttonarea {
    display: flex;
    margin-top: 50px;
    justify-content: center;
}
.popup_buttonarea_display {
    display: inline-block;
    position: relative;
}
.popup_submit_button {
    display: inline-block;
    appearance: none;
    cursor: pointer;
    font-weight: bold;
    line-height: 1.5;
    padding: 16px;
    font-size: 1rem;
    border: 1px solid #FF838C;
    background: #FF838C;
    color: white;
    text-align: left;
    border-radius: 8px;
    
    white-space: inherit;
    transition: 0.3s;
}
.popup_submit_button:hover {
    opacity: 0.7;
}

/*-------------------------------------------------------------------------------------------------*/

/*-------------------　パスワード再設定ポップアップ　-------------------------------------*/
.password_reset_popup {
    position: fixed;
    top: 0px;
    left: 0px;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 1001;
    background-color: rgba(34, 51, 68, 0.6);
    overscroll-behavior: none;
    overflow-y: scroll;
    scrollbar-width: none;
    touch-action: none;
}
.popup_reset_container {
    display: flex;
    width: 100%;
    height: calc(100% + 1px);
    justify-content: center;
}

@media screen and (min-width: 640px) {
    .popup_reset_display {
        justify-content: center;
        align-items: center;
    }
}
.popup_reset_display {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 640px) {
    [data-modal-type="modal"] > .popup_reset_inner {
        width: 100%;
        height: auto;
        max-width: 40rem;
        min-height: 20rem;
        max-height: 80%;
        margin-inline: 1rem;
        border-radius: 0.5rem;
    }
}
[data-modal-type="modal"] > .popup_reset_inner {
    width: 100%;
    /* height: 100%; */
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}
.popup_reset_inner {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: white;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
    isolation: isolate;
}
@media screen and (min-width: 640px) {
    .popup_reset_header_display {
        padding-inline: 1rem;
    }
}
@media screen and (min-width: 1024px) {
    .popup_reset_header_display {
        padding-block: 1rem;
    }
}
.popup_reset_header_display {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    /* padding-block: 0.5rem;
    padding-inline: 0.5rem; */
    background: rgb(255, 255, 255);
    border-bottom-width: 1px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 3px 0px 
}
.popup_reset_header {
    display: flex;
    align-items: center;
    min-height: 3rem;
}
@media screen and (min-width: 640px) {
    .popup_reset_header_title {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}
.popup_reset_header_title {
    color: #4D4D4D;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: bold;
    
    margin: 0;   
}
.popup_reset_header_line {
    display: flex;
    flex-grow: 1;
}
.popup_reset_header_button {
    display: flex;
    appearance: unset;
    justify-content: center;
    align-items: center;
    border-radius: 99999px;
    /* transition: all 0.2s ease 0s; */
    width: 48px;
    height: 48px;
    transform: rotate(-45deg);
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1.5;
    padding: 16px;
    font-size: 1rem;
    border: 1px solid #FF838C;
    background: #FF838C;
    color: white;
    text-align: left;
    white-space: inherit;
    transition: 0.3s;
}
.popup_reset_header_button:hover,
.popup_reset_header_button:focus {
    background-color: #FDB2B7;
    box-shadow: rgba(247, 167, 204, 0.445) 0px 1px 1px, rgba(247, 167, 204, 0.699) 0px 8px 32px;
}

.pupup_reset_button_mark {
    display: inline-block;
    flex-shrink: 0;
    /* width: 1em;
    height: 1em; */
    font-size: 1.8rem;
    font-weight: lighter;
    /* background: currentcolor; */
}
.popup_reset_main_display {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* overflow: scroll;
    overscroll-behavior-y: contain; */
}
@media screen and (min-width: 640px) {
    .popup_reset_main{
        padding-top: 1.5rem;
        padding-inline: 1rem;
    }
}
.popup_reset_main {
    padding-bottom: 3rem;
}
@media screen and (min-width: 640px) {
    .popup_reset_main {
        padding-top: 1.5rem;
        padding-inline: 1rem;
    }
}
.popup_reset_main_line {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.popup_update {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 350px;
}
.popup_reset_inputarea {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.newpassword_area,
.comfirmpassword_area {
    display: block;
}
.newpassword_area_text,
.confirmpassword_area_text {
    display: block;
    margin-bottom: 8px;
    width: 100%;
    word-break: break-all;
    font-size: 0.75rem;
    font-weight: bold;
    color: rgb(119, 136, 153);
    
}
.newpassword,
.confirmpassword {
    display: block;
    width: 90%;
    padding: 16px;
    border-radius: 8px;
    line-height: 1.125rem;
    font-size: 1rem;
    font-weight: bold;
    outline: 0px;
    background: white;
    border: 1px solid rgb(229, 233, 240);
    color: #4D4D4D;
    
}
.newpassword::placeholder,
.confirmpassword::placeholder {
    font-size: medium;
    color: #bdbdbd;
    
    font-family: "A+EqpB-游ゴシック体 Pr6N M", "Yu Gothic", 游ゴシック体, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, verdana, sans-serif; 
}
.newpassword:focus,
.confirmpassword:focus {
    border-color: #67b0ff; /* フォーカスするときの色 */
    outline: none; 
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25); /* シャドウ効果 */
}
/* エラーメッセージ */
.input_error_message {
    width: 100%;
    margin-top: 0.25em;
    font-size: 0.875em;
    color: #e53935;
    
}
/*--inputboxは何も入力してない場合のデザイン--*/
.error {
    border-color: #e53935;
}
.success {
    border-color: #43A047;
}

.popup_reset_buttonarea {
    display: block;
    margin-top: 40px;
    width: 100%;
    position: relative;
}
.update_button {
    display: block;
    width: 100%;
    appearance: none;
    cursor: pointer;
    font-weight: bold;
    line-height: 1.5;
    padding: 16px;
    font-size: 1rem;
    border: 1px solid #FF838C;
    background: #FF838C;
    color: white;
    text-align: center;
    
    border-radius: 8px;
    white-space: inherit;
    transition: 0.3s;
}
.update_button:hover {
    opacity: 0.7;
}

/*-------------------------------------------------------------------------------------------------*/


/*-------------------------------------　会員ログイン部分のデザイン　-------------------------------*/
/*--フレームワーク--*/
.to_regist_inner {
    margin-top: 20px;
    padding: 15px;
    background-color: white;
}
/*--タイトル--*/
.sign_up_title {
    margin: 0;
    padding: 0;
    color: #4D4D4D;
    font-size: 15px;
    font-weight: bold;
    
}
/*--ボタン--*/
.regist_button {
    font-size: 13px;
    margin: 30px auto 0;
    max-width: 300px;
    border: 1px solid #FF838C;
    background-color: white;
    border-radius: 20px;
    text-align: center;
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}
.regist_button > a {
    display: block;
    padding: 10px;
    color: #FF838C;
    font-weight: bold;
    text-decoration: none;
    
}
.regist_button:hover {
    border: 1px solid #FF838C;
    background-color: #FFE6DC;
}
.regist_button > a:hover {
    color: #FF838C;
}
/* エラーメッセージ */
.login_error_message,
.email_error_message,
.password_error_message  {
    width: 100%;
    margin-top: 0.25em;
    font-size: 0.8em;
    font-weight: 500;
    color: #e53935;
    
    line-height: 1.5em;
}
.input_error {
    border-color: #e53935;
}

/*-------------------------------------　ポップアップ部分　-------------------------------------*/


/*-------------------------------------　フッター部分　-------------------------------------*/
.login-form-footer {
    color: rgb(126, 126, 126); 
    text-align: center;   
}
.copyright {
    font-size: 0.75rem;
    
}

body {
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

