/*--ページ全体のフォント--*/
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;
}
#iframetop {
    width: 100%;
}
/*--LOGOの位置--*/
.logo {
    margin-left: 25px;
    margin-top: 28px;
}
.logo img{
    width: 150px;
}

/*--タブのデザイン--*/
.top_tab {
    display: flex;
    align-items: center;
    margin-right: 50px;
    white-space: nowrap;
}
.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-title {
    margin-top: 150px;
    margin-bottom: 50px;
    text-align: center;
    
    color: #4D4D4D;
    font-size: xx-large;
    font-weight: bold;
}
/*-- タイトルの下の部分 --*/
.innerbox {
    display: flex;
    text-align: center;
    justify-content: center;
    /* gap: 150px; */
    height: 330px;
}
.floatbox-1 {
    width:30%;
    border-right: 1px solid #CACACA;
    box-sizing: border-box;
    float: left;
}
.floatbox-2 {
    width:30%;
    box-sizing: border-box;
    float: right;
}
/*-- 各タイトルとテキストの部分 --*/
.custom-title, .institution-title {
    color: #4D4D4D;
    font-size: x-large;
    font-weight: bold;
    
    padding-top: 15px;
    padding-bottom: 15px;
}

.custom-text{
margin-top: 30px;
margin-bottom: 20px;
}
.custom-text, .institution-text {
    color: #4D4D4D;
    
    padding-bottom: 30px;
}
/*-- ボタンのデザイン --*/
.custom-button > a {
    width: 70%;
    padding: 15px 0;
    background-color: #FDB2B7;
    text-decoration: none;
    color: white;
    
    font-size: medium;
    font-weight: bold;
    display: inline-block;
    box-sizing: border-box;
    border: 2px solid #FDB2B7;
    border-radius: 10px;
    margin-bottom: 30px;
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}
.custom-button > a:hover {
    text-align: center;
    color: #FDB2B7;
    background-color: white;
    border: 2px solid #FDB2B7;
}
.line-box > a {
    width: 70%;
    padding: 15px 0;
    background-color: #1DCD00;
    text-decoration: none;
    color: white;
    
    font-size: medium;
    font-weight: bold;
    display: inline-block;
    box-sizing: border-box;
    border: 2px solid #1DCD00;
    border-radius: 10px;
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}
.line-box > a:hover {
    text-align: center;
    color: #1DCD00;
    background-color: white;
    border: 2px solid #1DCD00;
}
.institution-button > a {
    width: 70%;
    padding: 15px 0;
    background-color: #F98A92;
    text-decoration: none;
    color: white;
    
    font-size: medium;
    font-weight: bold;
    display: inline-block;
    box-sizing: border-box;
    border: 2px solid #F98A92;
    border-radius: 10px;
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}
.institution-button > a:hover {
    text-align: center;
    border: 2px solid #FDB2B7;
    background-color: #FDB2B7;
}


/*-------------------------------------　LINE BOXのデザイン　-------------------------------------*/
/* line-boxの位置を設置 */
.line-fixed-button-box {
    position: fixed; /* line-boxの位置を固定 */
    bottom: 25px; 
    right: 25px; 
    margin-top: 3px;
    text-align: center;
}
/* line-boxのデザイン */
.line-fixed-button{
    background-color: white;
    /* border-radius:30px; */
    border: 1px solid white;
    display: inline-flex;
    align-items: center;     
    justify-content: center; 
    padding: 5px 20px; 
}
.line-fixed-button:hover {
    opacity: 0.7;
}
.img-create {
    display: flex;
    max-width: 80%; 
    align-items: center; 
    justify-content: center; 
}
.line-link {
    /* display: flex; */
    max-width: 100%; 
    align-items: center; 
    justify-content: center;
    text-decoration: none;
}
/* line-boxの中の内容 */
.line-box-logo {
    width: 230px;
    /* height:40px; */
}
.line-box-text {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 10px;
    font-size: medium;
    font-weight: bold;
    
    color: #4D4D4D;
    white-space: nowrap;
}

/*-------------------------------- フッター部分のデザイン　---------------------------------*/
/* フッターの中の配置 */
.top_footer {
    background-color: #f8f8f8; /* 根据需要设置背景颜色 */
    margin-top: 100px;
    padding: 20px 0; /* paddingを設置 */
}
/* LOGOのサイズ */
.footer-logo {
    width: 150px;
    margin-left: 30px;
}
/* タブの配置 */
.p-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%; 
    margin: 0 auto; 
    flex-wrap: wrap; 
}
/* タブリストの配置 */
.p-footer-menu {
    display: flex;
    flex-wrap: wrap; 
    margin-right:90px;
}
.p-footer-menu-item-1,
.p-footer-menu-item-2,
.p-footer-menu-item-3,
.p-footer-menu-item-4 {
    margin: 20px 30px; 
}

.menulist {
    list-style: none;
    padding: 0;
}
.menulist li {
    margin-bottom: 10px; 
}
.menulist li a {
    text-decoration: none;
    color: #545454;
}
.menulist li a h4 {
    margin: 0;
}
.menulist li a:hover {
    color: #F98A92;
}
.company, .terms, .privacy-policy, .contact, .our-story, .service-in-footer, .lifeplan, .doctor-search, .column-in-footer {
    
    font-size: medium;
    font-weight: normal;
}

/* SNSアイコンの配置とデザイン */
.snsBox {
    display: flex;
    margin-top: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; 
}
.snsBox a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    align-items: center;
    margin: 10px; 
}
.x-icon, .instagram-icon, .line-icon ,.note-icon{
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    
}
.x-icon:hover, .instagram-icon:hover, .line-icon:hover {
    opacity: 0.7;
}
.sns-text-x, .sns-text-instagram, .sns-text-line {
    /* margin-left: 15px; */
    color: #545454;
    font-size: small;
        
}
.sns-text-x:hover {
    color: #000000;
}
.sns-text-instagram:hover {
    color: #EF02C9;
}
.sns-text-line:hover {
    color: #06C755;
}

/* copyrightの配置とデザイン */
.p-footer-bottom {
    width: 100%;
    text-align: left;
}
.copyright {
    margin-top: 20px;
    margin-left: 30px;
    margin-bottom: 0px;
    
    font-size: small;
    color: #777777;
}

body {
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

