/*--ページ全体のフォント--*/
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;
    justify-content: space-between;
    white-space: nowrap;
}
/*--LOGOの位置--*/
.logo {
    margin-left: 15px;
    margin-top: -50px;
}
.logo img{
    width: 200px;
}
/*--タブのデザイン--*/
.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);
}
/*-------------------------------------　お問い合わせ対応のヘッダー部分　--------------------------*/
/*--タイトル--*/
.contact-form-title {
    margin-top: 150px;
    text-align: center;
    color: #4D4D4D;
    font-size: xx-large;
    font-weight: bold;
    
}
/*--テキスト--*/
.contact-form-text {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    width: 75.1%; 
    color: rgb(126, 126, 126);
    font-size: small;
    
    text-align: center; 
}

.contact-form-text span {
    width: 966px;
    display: block;
    text-align: left; 
    margin-left: auto;
    margin-right: auto;
}

.contact-form-text-1, .contact-form-text-2 {
    width: 100%; 
    max-width: 100%;
}

/*-------------------------------------　お問い合わせ対応のinputbox部分　-------------------------*/
/*--フォームの仕組み--*/
.contact-form-container {
    margin-top: 80px;
    margin-bottom: 50px;
}
.contact-element-form-inner {
    max-width: 720px;
    margin: auto;
}
.contact-element-form-item {
    word-break: break-all;
}
/*--各グループの配置--*/
.contact-filed-name-group,
 .contact-filed-phone-group, 
 .contact-filed-mail-group,
 .contact-filed-mail-comfirmed-group {
    margin-bottom: 35px;
}
.contact-filed-textarea-group {
    margin-bottom: 10px;
}
.contact-filed-name,
.contact-filed-phone, 
.contact-filed-mail,
.contact-filed-mail-comfirmed,
.contact-filed-textarea {
    display: flex;
    margin-bottom: 5px;
}
/*--各グループのタイトル--*/
.contact-filed-name-text, 
.contact-filed-phone-text, 
.contact-filed-mail-text,
.contact-filed-mail-comfirmed-text,
.contact-filed-textarea-text {
    color: #4D4D4D;
    font-size: large;
    font-weight: bold;
    
}
.contact-filed-name-text-after::after, 
.contact-filed-phone-text-after::after, 
.contact-filed-mail-text-after::after,
.contact-filed-mail-comfirmed-text-after::after,
.contact-filed-textarea-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;
}
/*--各グループのinputboxの配置--*/
.contact-filed-name-inputbox,
 .contact-filed-phone-inputbox, 
 .contact-filed-mail-inputbox,
 .contact-filed-mail-comfirmed-inputbox,
 .contact-filed-textarea-inputbox{
    margin-bottom: 10px;
}

.contact-filed-name-inputbox-flex {
    display: flex;
}
.name-sei {
    margin-right: 0.5rem;
}
/*--各グループのinputboxのデザイン--*/
.sei, .mei, .phone, .area {
    padding: 0.5rem 0.75rem;
    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;
}
.mail, .mail-comfirmed {
    display: block;
    width: 96.5%;
    padding: 0.5rem 0.75rem;
    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の背景文字--*/
.sei::placeholder, 
.mei::placeholder, 
.phone::placeholder, 
.mail::placeholder,
.mail-comfirmed::placeholder,
.area::placeholder {
    font-size: medium;
    color: #bdbdbd;
    
    font-family: "A+EqpB-游ゴシック体 Pr6N M", "Yu Gothic", 游ゴシック体, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, verdana, sans-serif; 
}
/*--各グループのinputboxの背景文字--*/
.sei:focus, 
.mei:focus, 
.phone:focus, 
.mail:focus,
.mail-comfirmed:focus,
.area:focus {
    border-color: #67b0ff; /* フォーカスするときの色 */
    outline: none; 
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25); /* シャドウ効果 */
}
/*--各グループのinputboxの下のps文字--*/
.contact-filed-name-ps, 
.contact-filed-phone-ps, 
.contact-filed-mail-ps,
.contact-filed-mail-comfirmed-ps {
    margin-top: 0.25rem;
}
.ps-text, .personal-information-notice-text {
    color: rgb(126, 126, 126);
    word-break: break-word;
    
}

/*--inputboxの中に何も入力しない場合アラート文--*/
.invalid-feedback {
    width: 100%;
    margin-top: 0.25em;
    font-size: 0.875em;
    color: #e53935;
    
}
.input-error {
    border-color: #e53935;
}
.input-ok {
    border-color: #43A047;
}

/*--個人情報の取り扱いについてのリンク--*/
.personal-information-notice-link {
    color:#FF838C;
}
.personal-information-notice-link:hover {
    color: #67b0ff;
}
/*--個人情報の取り扱いについてのcheckbox--*/
.inputs-list {
    list-style-type: none;
    margin-top: 10px;
    margin-bottom: 5px;
    padding-left: 5px;
}
.form-checkbox {
    display: block;
    padding: 0;
    width: 100%;    
}
.check-text {
    color: #4D4D4D;
    font-size: medium;
    
}
.check-required {
    color: #ff0400;
}

/*-------------------------------------　お問い合わせ対応のボタン部分　-------------------------------------*/
.submit-button-group {
    display: grid;
    margin-top: 3em;
    text-align: center;
}
.submit-button {
    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;
}

/*-------------------------------------　お問い合わせ対応のフッター部分　-------------------------------------*/

.contact-form-footer {
    color: rgb(126, 126, 126); 
    text-align: center;   
}
.copyright {
    font-size: 0.75rem;
    
}

/*-------------------------------------　ポップアップ　-------------------------------------*/
.confirmationDialog {
    border: none; 
    padding: 20px; 
    max-height: 80vh; /* max-heightは８０％に設定 */
    max-width: 50vw;
    overflow-y: auto; 
    border-radius: 5px; 
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.confirmationDialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}
.dialog-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;  */
    /* overflow-y: auto;  */
    display: flex;
    flex-direction: column;
    font-family: "A+EqpB-游ゴシック体 Pr6N M", "Yu Gothic", 游ゴシック体, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, verdana, sans-serif;
    
    color: #4D4D4D;
}

.dialog-title {
    margin-bottom: 15px;
    margin-top: 0px;
    color: #4D4D4D;
}
.dialog-text {
    margin-bottom: 20px;
}
.dialog-text > span {
    color: #f44336;
}

.dialog-name,
.dialog-phone,
.dialog-email,
.dialog-message {
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
    background-color: #F5F5F5;
}
.dialog-name-after::after,
.dialog-phone-after::after,
.dialog-email-after::after,
.dialog-message-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;
}
.dialog-name > strong,
.dialog-phone > strong,
.dialog-email > strong,
.dialog-message > strong {
    margin-left: 10px;
}
.dialog-name-value,
.dialog-phone-value,
.dialog-email-value,
.dialog-message-value {
    margin-left: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
}


.dialog-buttons{
    display: flex;
    justify-content: center; 
    margin-top: 30px;
}
.dialog-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;
}

.dialog-confirm-button {
    background-color: #4CAF50;
    color: white;
    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;
    transition: 0.5s ease;
}
.dialog-confirm-button:hover {
    opacity: 0.7;
}

.dialog-cancel-button {
    background-color: #f44336;
    color: white;
    transition: 0.5s ease;
}
.dialog-cancel-button:hover {
    opacity: 0.7;
}



body {
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

