/*----------------リハビリテーション部----------------*/
/*スマホでは消す*/
.pc-dN768{
	display:none!important;
}
.nurse #header{
        background: none;
}
.nurse .h1hedding img{
        margin: 0px 0 0;
}


.nurse #gNav li a{
    color: #000;
}



/* =====================================
   リハビリテーション用ヘッダー
===================================== */

#h_top {
    width: 100%;
    background: #fff;
        display: inherit !important;
            margin: inherit !important;
            border-bottom: 5px solid #00a8da;
}

/* ロゴと検索欄 */
#h_top > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 28px;
    box-sizing: border-box;
}

/* ロゴ */
.h1hedding {
    margin: 0;
    padding: 0;
}

.h1hedding a {
    display: block;
}

.h1hedding img {
    display: block;
    width: auto;
    max-width: 600px;
    height: 90px;
}

/* 検索欄 */
.reha-search {
    display: flex;
    width: 26%;
    min-width: 360px;
    height: 42px;
    margin: 0;
}

.reha-search input[type="search"] {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0 16px;
    border: none;
    border-radius: 0;
    outline: none;
    background: #EFFBFF;
    color: #111;
    font-size: 13px;
    box-sizing: border-box;
    appearance: none;
}

.reha-search input[type="search"]::placeholder {
    color: #555;
}

.reha-search input[type="search"]:focus {
    background: #e5f7fb;
    box-shadow: inset 0 0 0 2px #009bbf;
}

.reha-search button {
    width: 76px;
    height: 100%;
    padding: 0;
    border: none;
    background: #009bbf;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.reha-search button:hover {
    opacity: 0.8;
}


#header.fix_menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    background: #fff;
    transition: transform 0.35s ease;
    transform: translateY(0);
}

/* 下スクロール時にヘッダーを上へ隠す */
#header.fix_menu.header-hidden {
    transform: translateY(-100%);
}

/* WordPressの管理バー表示時 */
body.admin-bar #header.fix_menu {
    top: 32px;
}

@media only screen and ( max-width : 1180px ) {
#h_top > div:first-child {
    padding: 0 61px 0 28px;
}

}
@media screen and (max-width: 782px) {
    body.admin-bar #header.fix_menu {
        top: 46px;
    }
}

/* 検索結果 */
.reha-search-page {
    margin: 100px auto 100px;
    padding: 70px 20px 70px;
    background: rgba(255, 255, 255, 1.0);
    width: 880px;
    }
.reha-search-page::before{
    content: "";
    position: absolute;
    inset: 0;
    background: url('../yoshimizu/images/rehabilitation/211027_119_search.jpg') center/cover no-repeat;
    opacity: 0.2; /* ←画像の透明度（0～1） */
    z-index: -2;
}

.reha-search-page::after{
    content: "";
    position: absolute;
    inset: 0;
    /* background: #00a8da; */
    mix-blend-mode: multiply;
    z-index: -1;
}

.reha-search-container {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

.reha-search-heading {
    margin: 0 0 45px;
    padding-bottom: 18px;
    border-bottom: 2px solid #00a4d3;
    color: #222;
    font-size: 30px;
    line-height: 1.5;
}

.reha-search-list {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.reha-search-item {
    margin: 0;
    padding: 0 0 35px;
    border-bottom: 1px solid #ddd;
}

.reha-search-title {
    margin: 0 0 7px;
    padding: 0;
    font-size: 23px;
    line-height: 1.5;
}

.reha-search-title a {
    color: #1267b3;
    text-decoration: underline;
}

.reha-search-title a:hover {
    text-decoration: underline;
}

.reha-search-url {
    margin: 0 0 10px;
    color: #19823b;
    font-size: 15px;
    line-height: 1.5;
    word-break: break-all;
}

.reha-search-description {
    margin: 0;
    color: #444;
    font-size: 16px;
    line-height: 1.9;
}

.reha-search-description mark {
    padding: 0 2px;
    background: #fff3a3;
    color: inherit;
    font-weight: 700;
}

.reha-search-empty {
    padding: 35px;
    background: #f5f5f5;
    text-align: center;
}

.reha-search-empty p {
    margin: 0;
    font-size: 17px;
}

.reha-search-pagination {
    margin-top: 50px;
}

.reha-search-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.reha-search-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #00a4d3;
    color: #00a4d3;
    text-decoration: none;
    box-sizing: border-box;
}

.reha-search-pagination .page-numbers.current {
    background: #00a4d3;
    color: #fff;
}

@media screen and (max-width: 700px) {
    .reha-search-page {
        padding: 40px 15px 70px;
    }

    .reha-search-heading {
        margin-bottom: 30px;
        font-size: 23px;
    }

    .reha-search-list {
        gap: 30px;
    }

    .reha-search-item {
        padding-bottom: 25px;
    }

    .reha-search-title {
        font-size: 19px;
    }

    .reha-search-url {
        font-size: 13px;
    }

    .reha-search-description {
        font-size: 15px;
    }
}




/* =====================================
   グローバルナビゲーション
===================================== */

.h_nav {
    width: 100%;
}

#gNav {
    width: 100%;
}

#gNav .nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 1px solid #00a4d3;
    box-sizing: border-box;
    list-style: none;
}

#gNav .nav li {
    min-width: 0;
    height: 53px;
    margin: 0;
    padding: 0;
    border-right: 1px solid #00a4d3;
    border-bottom: 1px solid #00a4d3;
    box-sizing: border-box;
}

/* 5列目の右線を消す場合 */
#gNav .nav li:nth-child(5n) {
    border-right: none;
}

/* 最下段の下線を消す場合 */
#gNav .nav li:nth-child(n + 6) {
    border-bottom: none;
}

#gNav .nav li a {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 5px 5px 5px 60px;
    color: #111;
    font-size: clamp(10px, 1.0vw, 13px);
    font-weight: bold;
    line-height: 1.0;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

/* メニュー各アイコン */
#gNav .nav li a::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translateY(-50%);
}
.icon00 a::before{
    background-image:url("images/rehabilitation/rehaicon_00.svg");
}

.icon01 a::before{
    background-image:url("images/rehabilitation/rehaicon_01.svg");
}

.icon02 a::before{
    background-image:url("images/rehabilitation/rehaicon_02.svg");
}

.icon03 a::before{
    background-image:url("images/rehabilitation/rehaicon_03.svg");
}

.icon04 a::before{
    background-image:url("images/rehabilitation/rehaicon_04.svg");
}

.icon05 a::before{
    background-image:url("images/rehabilitation/rehaicon_05.svg");
}

.icon06 a::before{
    background-image:url("images/rehabilitation/rehaicon_06.svg");
}

.icon07 a::before{
    background-image:url("images/rehabilitation/rehaicon_07.svg");
}

.icon08 a::before{
    background-image:url("images/rehabilitation/rehaicon_08.svg");
}

.icon09 a::before{
    background-image:url("images/rehabilitation/rehaicon_09.svg");
}

/* マウスを乗せたとき */
#gNav .nav li a:hover {
    background: #e9f8fc;
    color: #008fb6;
}

/* 現在のページ */
#gNav .nav li.current-menu-item a,
#gNav .nav li.current a {
    background: #e9f8fc;
    color: #008fb6;
}

/* 既存のマスクを使用しない場合 */
#gNav .mask {
    display: none;
}


/*トップ*/
.mv{
    display:grid;
    grid-template-columns:220px 1fr 220px;
    grid-template-rows:1fr 1fr;
    gap:20px;

    max-width:1400px;
    height:600px;          /* 全体の高さ */
    margin:20px auto 80px;
}

.main{
    grid-column:2;
    grid-row:1 / 3;        /* 2行分使う */

    overflow:hidden;
    
}

.thumb1{
    grid-column:1;
    grid-row:1 / 3;   /* 上下2行分 */
}

.main{
    grid-column:2;
    grid-row:1 / 3;
}

.thumb3{
    grid-column:3;
    grid-row:1;
}

.thumb4{
    grid-column:3;
    grid-row:2;
}

.thumb,
.main{
    overflow:hidden;
}

.thumb img,
.main img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border-radius:30px;
}

/* トップスライドショー */
.thumb{
    position:relative;
    overflow:hidden;
}

.thumb .slide{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:30px;

    opacity:0;
    transition:opacity 1.5s ease;
}

.thumb .slide.active{
    opacity:1;
}

.main img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border-radius:30px;
}

.rehabilitationcontent{
    position: relative;
        background: linear-gradient(to bottom, #fff 70%, #F1ECE8 30%);
    padding: 10px 50px 10px 50px;
}
.rehabilicopy{
    display: inline-block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        font-size: 22px;
        color: #00a8da;
        
}
.rehabilicopy2{
    font-size: 82px;
    color: #fff;
    font-weight: bold;
    opacity: 0.7;
}

/* 一文字ずつ表示 */
.rehabilicopy_ef span{
    font-weight: bold;
    opacity:0;
    display:inline-block;
    transform:translateY(10px);
    animation:fadeChar .5s forwards;
    text-shadow: 3px 3px 5px #fff, -3px -3px 5px #fff, 3px -3px 5px #fff, -3px 3px 5px #fff;
}

@keyframes fadeChar{
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@media screen and (max-width: 768px) {

    
    
}

.rehasection{
    position: relative;
    overflow: hidden;
    height: 736px;
        padding: 80px 0;
}

.rehasection::before{
    content: "";
    position: absolute;
    inset: 0;
    background: url('../yoshimizu/images/rehabilitation/211104_248_72.jpg') center/cover no-repeat;
    opacity: 0.2; /* ←画像の透明度（0～1） */
    z-index: -2;
}

.rehasection::after{
    content: "";
    position: absolute;
    inset: 0;
    background: #00a8da;
    mix-blend-mode: multiply;
    z-index: -1;
}

.content_reha{
    margin: 0 auto;
    max-width: 1100px;
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 2fr 8fr;
    gap: 40px;
    align-items: center;
    line-height: 1.0;
    padding: 0 20px;
}
.heading-25{
    position: relative;
    color: #fff;
    font-size: 19px;
    font-weight: bold;
    z-index: 1;
    text-align: center;
}

.bg-title{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);

    font-size: 65px;
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: 0.08em;
    text-align: center;
    white-space: nowrap;

    color: #006686;
    opacity: 0.4;
    mix-blend-mode: multiply;

    pointer-events: none;
    z-index: -1;
    letter-spacing: 0;
}



.rehaimgbox{
    position: relative;
    background: linear-gradient(to bottom, #F1ECE8 70%, #fff 30%);
    padding-bottom: 50px;
        min-height: 550px;
        color: #000;
}
.rehaimg-wrap{
    position: relative;
    display: inline-block;
    border-radius: 30px 0 0px 30px;
    overflow: hidden;
}
.rehaimg-wrap_l{
    border-radius: 0px 30px 30px 0px;
}
.rehaimg{
    display: block;
    height: 500px;
}
.rehaimg-wrap::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3); /* 白を30%重ねる */
    pointer-events: none;
    z-index: 10;
}


.rehasub{
    position: absolute;
    width: 48vw;
    left: 48vw;
    top: 150px;
    line-height: 2.2;
    font-size: 18px;
    font-weight: bold;
        color: #4b1800;
}
.rehasub0{
    position: absolute;
    left: 5vw;
    top: 60px;
    line-height: 2.2;
    font-size: 22px;
    font-weight: bold;
    color: #00a8da;
    border: #00a8da 1px solid;
    padding: 10px 30px;
    border-radius: 50px;
    background: #fff;
}
.rehasub1{
    position: absolute;
    width: 48vw;
    left: 5vw;
    top: 150px;
    line-height: 2.0;
    font-size: 18px;
    font-weight: bold;
    color: #4b1800;
    
}
.rehasub1_1{
    display: inline;
    padding: 6px 4px 6px 4px;
    background: linear-gradient(transparent 0%, #fff 0%);
    line-height: 2.2;
        color: #000;
}
.rehaimgbox1{
    position: relative;
    background: #fff;
    padding-bottom: 50px;
        min-height: 550px;
        color: #4b1800;
}
.rehaimgbox1 img{
    right: 0;
}
.rehaimgbox1 .rehaimg-wrap{
    position: absolute;
    right: 0;
}
.rehamainbox{
    position: absolute;
    top: -39px;
}
.rehamainbox1{
    position: absolute;
    top: -39px;
    right: 0;
}

.rehamain{
    background: #fff;
    color: #4b1800;
    padding: 6px 50px;
    font-size: 40px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;

    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.rehamain:nth-of-type(2){
    animation-delay: .4s;
}

@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(30px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}




.rehamenu{
    display: grid;
        grid-template-columns: repeat(auto-fit, minmax(30%, auto));
    /* gap:30px; */
    margin: 0px 0 30px;
}
.rehamenu a{
    background: #fff;
    padding: 15px;
    text-align: center;
    color: #000;
        border-radius: 20px;
        transition: .3s;
            border: #00a8da 1px solid;
}
.rehamenu a img{
    width: 68%;
}
.rehamenu a p{
    font-size: 15px;
    color: #00a8da;
    margin-top: 10px;
    line-height: 1.3;
        padding-left: 26px;
}
/* ホバー時（例：背景色も変える場合） */
.rehamenu a:hover {
    color: #fff;
    opacity: 1;
}

.arrow_r_b {
    position: relative;
    display: inline-block;
    padding-left: 22px;
}

.arrow_r_b:before {
    content: '';
    width: 18px;
    height: 18px;
    /* background: #fff; */
    border: 1px solid #00a8da;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    transition: .3s;
}

.arrow_r_b:after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: solid 2px #00a8da;
    border-right: solid 2px #00a8da;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    left: 5px;
    bottom: 0;
    margin: auto;
    transition: .3s;
}

/* aをホバーしたとき */
.rehamenu a:hover .arrow_r_b:before {
    background: #00a8da;
}

.rehamenu a:hover .arrow_r_b:after {
    border-top-color: #fff;
    border-right-color: #fff;
}

/* aをホバーしたときアイコン回転 */
.rehamenu img{
    transition: transform 0.8s ease;
}

.rehamenu a:hover img{
    transform: rotateY(360deg);
}

@media screen and (max-width: 768px){

    .rehamenu{
            gap: 13px;
                margin: 30px 0 30px;
            grid-template-columns: repeat(auto-fit, minmax(45%, auto));
    }
    .rehamenu a p{
            font-size: 12px;
    }
    .rehamenu a img {
        width: 40%;
        margin: 0 0 0px 0;
}
    
}
.rehaimgbox2{
    
    
}
.rehaimgbox2 p:first-child{
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    color: #4b1800;
}
.rehaimgbox2 .rehaimgboxinner2{
    padding: 60px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 5px 5px 20px 5px rgba(0,0,0,0.2);
        margin: 30px auto 90px;
        width: 880px;
}
.rehaimgbox2 .rehaimgboxinner2 img{
    display: block;
    margin: 0 auto 50px;
}

/*----------------各ページ----------------*/
.insidrehabilitation{
        background: #F1ECE8;
}
.komidashiwrap{
    margin: auto;
    width: 880px;
    padding-top: 40px;
}
.komidashi{
    border-bottom: solid 1px #4b1800;
    padding: 0 0 1px 10px;
    font-size: 15px;
    color: #4b1800;
    letter-spacing: 0.3em;
    font-weight: bold;
}
.insidecontent{
    position: relative;
        background: linear-gradient(to bottom, #fff 22%, #00a8da 47%);
    padding: 0px 0px 10px 0px;
}

.insideheader{
    position: relative;
}

.insideheader img{
    width: 67vw;
    height: 300px;
    object-fit: cover;
    border-radius: 0 0px 150px 0;
}

.insideheader p{
    position: absolute;
    /* left: calc(65vw - 65px); */
    top: 40%;
    transform: translateY(-50%);
    font-weight: 700;
    background: #fff;
    color: #00a8da;
    padding: 6px 50px;
    font-size: 40px;
    display: inline-block;
}
.insideheader span{
    position: absolute;
    /* left: calc(65vw - 65px); */
    right: 2%;
    top: 40%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    padding: 6px 50px;
    display: inline-block;
}

/* 職種・資格の紹介 */
.rehastaff{
    width: 880px;
    margin: auto;
    padding: 10px 0 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    
}

.office-card{
    height: 100%;
    /* border: 1px solid #ccc; */
    border-radius: 8px;
    padding: 30px 0 0 0;
    /* background: #fff; */
        box-sizing: border-box;
}
.office-card img{
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.office-area{
    display:inline-block;
    background:#5976BA;
    color:#fff;
    padding:4px 12px;
    border-radius:20px;
    font-size:14px;
    margin-top:20px;
}

.office-name{
    font-size:20px;
    font-weight:bold;
    margin-bottom:10px;
    line-height:1.8;
    margin-top:10px;
        color: #4b1800;
}

.office-info{
        margin-top: 11px;
    line-height: 1.6;
        color: #4b1800;
}

.list {
        width: 880px;
    margin: 50px auto 0;
    padding-bottom: 40px;
}
.list ul {
    column-count: 2;
    padding-left: 20px;
    list-style: disc;
    margin: -20px 0px 30px;
        color: #4b1800;
}



@media (max-width:768px){

    .office-list{
        grid-template-columns:1fr;
    }

}

/* 目的別リハビリテーション */
.insidrehaslide{
    margin: 50px 0 50px;
}
.slideshow{
    position: relative;
}

.slideshow .rehaimg{
    display:block;
    height:500px;
}

.slideshow .rehaimg:not(:first-child){
    position:absolute;
    top:0;
    left:0;
    width:100%;
    opacity:0;
    transition:opacity 1s;
    object-fit: cover;
}

.slideshow .rehaimg.active{
    opacity:1;
}

.rehaimgpurpose{
    padding: 60px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 5px 5px 20px 5px rgba(0, 0, 0, 0.2);
    margin: 40px auto 30px;
    width: 100%;
    max-width: 700px;
}
.rehaimgpurpose img{
    width: 100%;
}

.tel_wrap{
    width: 880px;
    margin: 20px auto;
    background: #fff;
    padding: 30px 0;
    text-align: center;
    border-radius: 30px;
}
.tel_wrap p:nth-child(1){
    font-size: 20px;
    font-weight: bold;
    line-height: 1.8;
    margin-top: 10px;
    color: #4b1800;
}
.tel_wrap p:nth-child(4){
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.8;
    color: #4b1800;
}
.tel_wrap .tel_an_no{
    font-size: 68px;
}
.tel_wrap .tel_an_no span{
    font-size: 25px;
    color: #00a8da;
}
.tel_wrap .tel_an_no a{
    color: #00a8da;
}
.list .txttitle{
    font-size: 25px;
    color: #4b1800;
    display: inline-block;
  font-weight:bold;
  border-left: solid 3px #4b1800;
  margin: 30px auto 0px;
  padding: 0px 0px 0px 10px;
}
.list .txtbox{
    margin-top: 10px;
    color: #4b1800;
}
.list .txttitle2{
    background: #4b1800;
    padding: 5px 20px;
    color: #fff;
    font-size: 20px;
    font-weight:bold;
    margin-top: 15px;
    display: inline-block;
    border-radius: 30px;
}

.imgdesign{
    margin-top: 40px;
}
.imgdesign img{
    width: 100%;
    height: 350px;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.5;
}

.list .table-scroll{
    margin-top: 30px;
}
.list .table-scroll th {
    background-color: #00a8da;
}
.list .table-scroll td {
        color: #4b1800;
}
.spacer1{
    padding-bottom: 50px;
}