@charset "UTF-8";
#header{
    margin-bottom:40px;
}
#imagearea h2 {background:none;border:none;padding:0;margin:0;}
#imagearea dl.inline dt {margin-right:1.5em;color: #630;}
#imagearea dl.inline dd {margin-bottom:.8em;}
#information{width: 100%; height:200px;border:1px solid #ccc;-webkit-border-radius: 6px;-moz-border-radius: 6px;border-radius: 6px; behavior: url(http://www.wakayama-med.ac.jp/med/dementia/js/PIE.htc); font-size:.9em; margin-top: 60px;}
#information h3 {font-size:12px;padding-top:0;padding-bottom:0;border:none;margin-left:0.8em;margin-top:0.5em !important;margin-bottom:0 !important;}
#information #info {height:160px;overflow:auto;margin : 0.2em 0.5em 0.5em 1em;}
.box-left,.box-right {
    border:1px solid #ccc;
    width:100%;
    position:relative;padding-bottom:15px;
    font-size:.9em;}
.box-left .important {
    font-size: 18px;
    font-weight: bold;
    color: #f41616;
}
.box-left h3,.box-right h3{margin: 1em;}
.box-left p,.box-right p,.box-left ul,.box-right ul{margin: 0.5em 1em;color:#666;}
.box-left ul li,.box-right ul li{margin-bottom:0.5em;}

/* 受診を希望される方：リンクボタン */
/* #bt-jushin a{background: url(/med/dementia/images/top/bt-jushin.gif) no-repeat top;height:40px;width:235px;position:absolute;top:230px;right:120px;text-indent:-9999px;} */
/* 認知症について：リンクボタン */
#bt-dementia a {
    background:url(/med/dementia/images/top/bt-dementia.gif) no-repeat top;
    height:40px;
    width: 90%;
    text-indent:-9999px;
    display: block;
    margin: 0 auto;
}
/* 鑑別診断について：リンクボタン */
#bt-shindan a {
    background: url(/med/dementia/images/top/bt-shindan.gif) no-repeat top;
    height:40px;
    width: 90%;
    display: block;
    margin: 0 auto;
}
#bt-jushin {
    width: auto;
    height: auto;
    padding: 30px;
}
#bt-jushin .important {
    font-size: 24px;
    font-weight: bold;
    color: #f41616;
}
#bt-jushin .senyou_dial {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
#bt-jushin .time {
    font-size: 20px;
    font-weight: bold;
    color: #666;
    
}
#bt-jushin .senyou_dial  p {
    width: 120px;
    height: 40px;
    border-radius: 5px;
    color: #fff;
    background-color: #F60;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
#bt-jushin .senyou_dial a {
    color: #F60;
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.2;
}
#bt-jushin a {
    transition: 0.3s;
}
#bt-jushin a:hover {
    opacity: 0.8;
}
/* 認知症QA：リンクボタン */#bt-qa a{background: url(/med/dementia/images/top/bt-qa.gif) no-repeat top;height:50px;width:280px;display:block;text-indent:-9999px;}
/* 認知症チェックシート：リンクボタン */
#bt-check a{background: url(/med/dementia/images/top/bt-check.gif) no-repeat top;height:50px;width:280px;display:block;text-indent:-9999px;}
#bt-dementia a:hover,#bt-shindan a:hover,#bt-qa a:hover,#bt-check a:hover{background-position: bottom;}
/*画像バナー*/
.bn_img {background-color:#FFF;} 
.bn_img:hover {background-color:#FBFFD1;} 

/* nav装飾 */
.twoColRt .sideBar #nav h4{line-height:1.3;margin: 0.3em 0.3em 1em 0.2em;border-bottom:2px solid #F60;}
.twoColRt .sideBar #nav ul.arr{margin-left:0 !important;}
.twoColRt .sideBar #nav ul.arr li{margin-bottom:0.5em ;font-size: large;padding-left:18px;font-weight:bold;}


#telbox { 
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
#telbox img {
    width: 80px;
}
#telbox .textbox h2 {
    font-size: 60px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}
#telbox .textbox .smalltext {
    font-size: 28px;
    color: #666;
}
.jushin_soudan {
    width: 100%;
    border: 6px solid #ccc;
    position: relative;
}
.jushin_soudan::after {
    content: "";
    width: 320px;
    height: 257px;
    background-image: url(/med/dementia/images/top/tel_counseling.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    bottom: -67px;
    right: 20px;
    position: absolute;
}
.no_pc {
    display: none;
}
@media screen and (max-width: 768px) {
#main {
    margin-top: 30px;
}
#sp_tel{ display:block; position:absolute; bottom:0; left:0; width:100%; height:50px; text-indent:-9999px;}
#sp_tel a{ display:block; height:50px; width:320px;}
#bt-dementia a,
#bt-shindan a {
    position: relative;
    margin: auto;
    display: block;
    left: 0;
    right: 0;
    transform: translateY(0) translateX(0);
}
.box-left,.box-right { float:none !important; width:100% !important;}
.box-left{ margin-bottom:10px;}
.box-height{ height:auto !important;}
#imagearea {height:auto; margin-bottom:30px;}
#imagearea h2 { width:300px;text-align:center; margin:0 auto;}
    #bt-jushin {
        display: block;
        position: relative;
        height: auto;
    }
#information{width:100%;height:200px; background:#FFF; position: relative; margin-top: 30px;}
#information #info {height:160px;}
dl.inline dt {width:100%;}
dl.inline dd {margin-top:0;margin-left:0; border-bottom:1px dotted #ccc;}

.no_pc {
    display: block;
}

.no_sp {
    display: none;
}
#telbox { 
    display: block;
    gap: 30px;
    margin-bottom: 10xp;
    padding-bottom: 0;
}
#telbox .textbox {
    order: 1;
}
#telbox img {
    width: 100px;
}
.sp_flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    order: 2;
    margin-top: 10px;
}

#telbox .textbox h2 {
    font-size: 24px;
    text-align: center;
}
#telbox .textbox .smalltext {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
    text-align: center;
}
.jushin_soudan {
    width: calc(100% - 10px);
    border: 6px solid #ccc;
    position: relative;
}
#bt-jushin {
    width: auto;
    height: auto;
    padding: 10px;
}
#bt-jushin .important {
    font-size: 20px;
}
#bt-jushin .important br {
    display: none;
}
#bt-jushin .senyou_dial {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
#bt-jushin .time {
    font-size: 16px;
    text-align: center;
    
}
#bt-jushin .senyou_dial p {
    width: 120px;
    margin-bottom: 0;
}
#bt-jushin .senyou_dial a {
    color: #F60;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.2;
}
#bt-jushin a {
    transition: 0.3s;
    display: flex;
    justify-content: center;
}
#bt-jushin img {
    width: 100%;
    margin-top: 30px;
}
.jushin_soudan>img {
    width: 60%;
    margin: 30px auto 0;
    
}
#bt-jushin a:hover {
    opacity: 0.8;
}
.jushin_soudan::after {
    content:none;
}

}
@media screen and (max-width: 480px) {
#telbox{
    margin-bottom: 20px;
    padding-bottom: 0;
}
#imagearea {height:auto; background-position: 50% 50%; background-size:320px;}
}