/* houmonriha.html 専用CSS */

/* 上部タイトル周り：hosInfoベースを維持して訪問リハだけ調整 */
.pageTopBox.hosInfo {
    height: 700px;
}

.houmonrihaTitle h1 {
    font-size: 22px;
    letter-spacing: 2px;
    line-height: 34px;
}
.houmonrihaTitle p {
    font-size: 20px;
}

/* サブナビ：元の位置に戻す */
.subNav {
    margin: 40px 0;
}

.subNav li {
    width: 180px;
}

/* フロアマップ部分を後で差し替える用 */
.houmonriha-site {
    background-color: #e4e5e1;
    padding: 50px 0;
}

.houmonriha-link-box {
    background: #fff;
    padding: 35px;
    text-align: center;
    box-sizing: border-box;
}

.houmonriha-link-box p {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 25px;
    color: #534e4c;
}

.houmonriha-link-btn {
    display: inline-block;
    background-color: #2fa24a;
    color: #fff !important;
    padding: 14px 40px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
}

.houmonriha-link-btn:hover {
    background-color: #23853b;
    color: #fff !important;
}
/* 訪問リハ紹介部分の背景画像 */
.wrapMax.hosInfo1 {
    background-image: url("../img/care/sec15-3.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.houmonrihaTitle{
    width:350px !important;
    padding-left:45px !important;
}

.houmonrihaTitle p{
    margin-left:0;
}

.houmonrihaTitle h1{
    margin-left:0;
}
.houmonrihaTitle{
    width:330px !important;
    height:170px !important;
    padding-left:35px !important;
    padding-top:35px !important;
}
/* 4分割BOXの背景画像：訪問リハ専用 */
.wrap10.hosInfo2 div:first-of-type{
    background-image:url("../img/care/a5.png");
    background-size: 250px auto;
    background-repeat: no-repeat;
background-position: center bottom;
}
.wrap10.hosInfo2 div:nth-of-type(2){
    background-image:url("../img/care/a6.png");
    background-size: 250px auto;
    background-repeat: no-repeat;
background-position: center bottom;
}

.wrap10.hosInfo2 div:nth-of-type(3){
   background-image:url("../img/care/a7.png");
    background-size: 250px auto;
    background-repeat: no-repeat;
background-position: center bottom;
}

.wrap10.hosInfo2 div:last-of-type{
     background-image:url("../img/care/a8.png");
    background-size: 250px auto;
    background-repeat: no-repeat;
background-position: center bottom;
}
.subNav li{
    width: auto !important;
    min-width: 220px;
}

.subNav li a{
    white-space: nowrap;
}
.recommendList {
    margin-top: 15px;
    margin-bottom: 25px;
    padding-left: 30px;
    line-height: 2.0;
    font-size: 14px;
}

.recommendList li {
    margin-bottom: 6px;
}
.wrap10.hosInfo1 p{
    width: 950px;
    max-width: none;
}
.wrap10.hosInfo3 p{
    line-height: 2.2;
    font-size: 15px;
    letter-spacing: 0.03em;
}
.wrap10.hosInfo3 p{
    line-height: 2;
    font-size: 15px;
    letter-spacing: 0.03em;
}

.wrap10.hosInfo3 p br{
    display:block;
    content:"";
    margin-top:12px;
}
.wrap10.hosInfo3 p{
    line-height: 1.7;
    margin-bottom: 15px;
}
.subNav ul{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

.subNav ul li{
    width:33%;
    margin:0;
    padding:5px 0;
    box-sizing:border-box;
}
/* スマホ・PC共通：サブナビを2段固定にする */
.subNav ul{
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px 20px !important;
    width: 900px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.subNav ul li{
    width: auto !important;
    min-width: 0 !important;
    padding: 3px 0 !important;
    margin: 0 !important;
    list-style: none;
    text-align: left;
}

.subNav ul li a{
    white-space: nowrap;
    font-size: 16px;
}
