/** 
  三原台病院トップページ 
*/
:root {
  --text-color: #4d4d4d;
}

html {
    font-family: "kiwi", "ヒラギノ角ゴ Pro W3", "Josefin Sans", "メイリオ", "hiragino Kaku Gothic Pro", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
    /* font-size: 1rem; */
    font-size:1.3rem;
}
body {
    color: #4d4d4d;
}

/* 文字サイズを「大」にしたとき */
html.large {
    /* font-size: 1.3rem; */
    font-size:1.6rem;
}
.tb-br{
    display:none;
}

/* ヘッダー */
header {
    position: sticky;
    top: 0px;
    left: 0px;
    width: 100%;
    background-color: #ffffff !important;
    z-index: 999;
    height: 100px;
}
.miharadai-header .header-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 2px 20px;
    align-items: center;
    margin: 0 auto;
    height: 100px;
}
.miharadai-header .logo-header {
    flex-grow: 1;
    z-index: 999;
}
.miharadai-header .logo-header img {
    width: 400px;
    height: auto;
    max-width: 100%;
}
.miharadai-header .light-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    border-right: 1px solid #000000;
}
.miharadai-header .btn-line {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    flex-grow: 2;
    padding-right: 20px;
    width: 100%;
    border-right: 1px solid #000000;
}
.miharadai-header .word-line {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}
.miharadai-header .word-line p {
    font-size: 1.1rem;
    padding-right: 15px;
    white-space: nowrap;
}
.miharadai-header .word-line a {
    display: inline-block;
    position: relative;
    font-size: 1.1rem;
    text-decoration: none;
    color: #ffffff;
    background-color: #9c9c9c;
    min-width: 85px;
    min-height: 30px;
    text-align: center;
    vertical-align: middle;
    border-radius: 10px;
    transition: background-color, 0.3s;
}
.miharadai-header .word-line a.bg-blue {
    background-color: #1f7de7;
}
.miharadai-header .word-line a:nth-child(2) {
    margin-right: 10px;
}
.miharadai .sub-trans .sub-trans-item:nth-child(1) {
    margin-right: 5px;
}
.miharadai .sub-trans .sub-trans-item:nth-child(2) {
    margin-left: 5px;
}
.miharadai-header .word-line a:hover {
    background-color: #1f7de7;
}
.miharadai-header .word-line a span {
    position: absolute;
    text-wrap: nowrap;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    letter-spacing: 0.1em;
}
.miharadai-header .trans-line {
    padding-top: 20px;
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}
.miharadai-header .trans-line a {
    text-decoration: none;
    font-size: 1.1rem;
    /* color: #000000; */
    color:var(--text-color);
    transition: color, 0.3s;
}
.miharadai-header .trans-line a:first-child {
    padding-right: 20px;
    /* border-right: 1px solid #000000; */
    border-right: 1px solid var(--text-color);
}
.miharadai-header .trans-line a:last-child {
    padding-left: 20px;
}
.miharadai-header .trans-line a:hover {
    color: #1f7de7;
}
.miharadai-header .tel-line {
    width: 100%;
    height: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.miharadai-header .tel-line a {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none;
    /* color: #000000; */
    color:var(--text-color);
    transition: color, 0.3s;
}
.miharadai-header .tel-line a:hover {
    color: #1f7de7;
}
.miharadai-header .tel-line img {
    width: 30px;
    height: 30px;
}
.miharadai-header .tel-line a span {
    font-size: 1.3rem;
    padding-left: 3px;
}

/* トグルメニュー */
.miharadai-menu .sp-only {
    display: none;
}
.miharadai-header .humbarger-menu {
    display: block;
    margin: auto 0;
    /* width: 55px; */

    padding-left: 20px;
}
html.large .miharadai-header .humbarger-menu{
    width:80px;
}
.miharadai-header .humbarger-menu:hover {
    cursor: pointer;
}
.miharadai-header .humbarger-menu span:not(.tbl) {
    position: relative;
    display: block;
    /* background-color: #000000; */
    background-color: var(--text-color);
    height: 2px;
    width: 40px;
    margin: 12px auto;
    transition: 0.3s ease-in-out;
}
.miharadai-header .humbarger-menu .tbl {
    /* font-size: 0.9rem; */
    font-size:0.8rem;
    text-wrap: nowrap;
    text-align: center;
    display: block;
    margin-top: 8px;
    letter-spacing: -1px;
}
.miharadai-header .arrow span:first-child {
    transform: translateY(14px) rotate(45deg);
    -webkit-transform: translateY(14px) rotate(45deg);
}
.miharadai-header .arrow span:nth-child(2) {
    opacity: 0;
}
.miharadai-header .arrow span:nth-child(3) {
    transform: translateY(-14px) rotate(-45deg);
    -webkit-transform: translateY(-14px) rotate(-45deg);
}

/* .miharadai-menu .sub-menu-lists {
    display: none;
} */
.miharadai-menu {
    opacity: 0;
    visibility: hidden;
    height: 100%;
    width: 100%;
    position: fixed;
    overflow-y: scroll;
    z-index: 995;
    top: 0;
    left: 0;
    -webkit-transition: .3s;
    transition: .3s;
    background-color: rgba(255, 255, 255, 1);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.miharadai-menu .sub-menu {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    padding-top: 160px;
    padding-bottom: 80px;
}
.miharadai-menu .sub-menu-lists {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
.miharadai-menu .sub-menu-top {
    /* width: calc(100% - 500px); */
    width:calc(100% - 24rem);
    text-align: left;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}
.miharadai-menu .sub-menu-btm {
    /* width: 500px; */
    width:24rem;
    padding-left: 4%;
    box-sizing: border-box;
}
.miharadai-menu .sub-menu-top ul {
    list-style: none;
    position: relative;
    list-style: none;
    padding-left: 0;
    box-sizing: border-box;
}
.miharadai-menu .sub-menu-top ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.miharadai-menu .sub-menu .sp-only {
    display: none;
}
.miharadai-menu ul a {
    text-decoration: none;
    /* color: #000000; */
    color:var(--text-color);
    width: 100%;
    padding: 20px 10px;
    position: relative;
    box-sizing: border-box;
    vertical-align: middle;
    transition: all 0.4s cubic-bezier(.17,.84,.44,1);
}
.miharadai-menu ul a:hover {
    color: #8dc556;
}
.miharadai-menu ul a:hover .arrow-txt {
    color: #8dc556;
    border-color: #8dc556;
}
.miharadai-menu ul .tbl {
    width: calc(100% - 30px);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}
.miharadai-menu .toggle-button {
    border-radius: 50%;
    /* border: 1px solid #000000; */
    border: 1px solid var(--text-color);
    position: relative;
    font-size: 1rem;
    width: 25px;
    height: 25px;
    transition: all 0.4s cubic-bezier(.17,.84,.44,1);
}
.miharadai-menu .toggle-button::before {
    border-right: 2px solid #4a4a4a;
    border-top: 2px solid #4a4a4a;
    height: 10px;
    top: 50%;
    left: 50%;
    width: 10px;
    content: "";
    position: absolute;
    -webkit-transform: translate(-50%, -50%) rotate(135deg);
    transform: translate(-50%, -50%) rotate(135deg);
    transition: border-color, -webkit-transform .33s ease-out;
    transition: border-color, transform .33s ease-out;
    transition: border-color, transform .33s ease-out, -webkit-transform .33s ease-out;
}
.miharadai-menu ul .pc-only:hover .toggle-button {
    color: #8dc556;
    border-color: #8dc556;
}
.miharadai-menu ul .pc-only:hover .toggle-button::before {
    border-color: #8dc556;
    /* transform: translate(-25%, -30%) rotate(-45deg);
    -webkit-transform: translate(-25%, -30%) rotate(-45deg); */
}
.miharadai-menu ul .pc-only:hover .toggle-button::before {
    left: 37%;
    transform: translate(-25%, -30%) rotate(-45deg);
    -webkit-transform: translate(-25%, -30%) rotate(-45deg);
}
.miharadai-menu .toggle-button span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
}
.miharadai-menu .lower-nav {
    max-height: 0;
    overflow: hidden;
    transform-origin: center top;
    position: relative;
    padding-bottom: 15px;
    width: 100%;
    transition: max-height 0.9s ease-in-out;
}
.miharadai-menu ul .pc-only:hover .lower-nav {
    max-height: 475px;
}
.miharadai-menu .lower-nav ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}
.miharadai-menu .sub-menu-top .lower-nav li {
    display: block;
    width: 100%;
    height: 100%;
    align-items: initial;
}
.miharadai-menu .lower-nav ul a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    text-align: left;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    line-height: 1;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(.17,.84,.44,1);
    text-decoration: none;
    padding-left: 25px;
    box-sizing: border-box;
    border-right: initial;
}
.miharadai-menu .lower-nav .ttl {
    width: calc(100% - 30px);
    font-size: 1.2rem;
}
.miharadai-menu .sub-item a {
    width: 100%;
    border-right: initial;
}
.miharadai-menu .sub-menu-btm .insurance-item {
    width: 100%;
    display: block;
    margin-bottom: initial;
}
.miharadai-menu .sub-menu-btm .insurance-item-column {
    padding: 20px 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(.17, .84, .44, 1);
}
.miharadai-menu .sub-menu-btm .insurance-item-column:hover {
    color: #7fa5c3;
}
.miharadai-menu .sub-menu-btm .insurance-item .tbl {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.miharadai-menu .sub-menu-btm .sp-only {
    display: none;
}

/* .miharadai-menu .sub-menu-btm ul {
    list-style: none;
    position: relative;
    list-style: none;
    padding-left: 0;
    box-sizing: border-box;
}
.miharadai-menu .sub-menu-btm li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.miharadai-menu .insurance .insurance-item-column {
    text-decoration: none;
    color: var(--text-color);
    width: 100%;
    padding: 20px 10px;
    position: relative;
    box-sizing: border-box;
    vertical-align: middle;
    transition: all 0.4s cubic-bezier(.17, .84, .44, 1);
    cursor: pointer;
}
.miharadai-menu .insurance .insurance-item-column .tbl {
    width: calc(100% - 30px);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}
.miharadai-menu .insurance .lower-nav {
    max-height: 0;
    overflow: hidden;
    transform-origin: center top;
    position: relative;
    padding-bottom: 15px;
    width: 100%;
    transition: max-height 0.9s ease-in-out;
}
.miharadai-menu .insurance .toggle-button {
    border-radius: 50%;
    border: 1px solid var(--text-color);
    position: relative;
    font-size: 1rem;
    width: 25px;
    height: 25px;
    transition: all 0.4s cubic-bezier(.17, .84, .44, 1);
}
.miharadai-menu .insurance .toggle-button::before {
    border-right: 2px solid #4a4a4a;
    border-top: 2px solid #4a4a4a;
    height: 10px;
    top: 50%;
    left: 50%;
    width: 10px;
    content: "";
    position: absolute;
    -webkit-transform: translate(-50%, -50%) rotate(135deg);
    transform: translate(-50%, -50%) rotate(135deg);
    transition: border-color, -webkit-transform .33s ease-out;
    transition: border-color, transform .33s ease-out;
    transition: border-color, transform .33s ease-out, -webkit-transform .33s ease-out;
}
.miharadai-menu .insurance .lower-nav ul {
    position: relative;
    list-style: none;
    padding-left: 0;
    box-sizing: border-box;
    margin-top: 15px;
}
.miharadai-menu .insurance .lower-nav ul .l-nav {
    display: block;
    width: 100%;
    height: 100%;
    align-items: initial;
}
.miharadai-menu .insurance .lower-nav ul .l-nav>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    text-align: left;
    width: 100%;
    height: 100%;
    line-height: 1;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(.17, .84, .44, 1);
    text-decoration: none;
    padding-left: 25px;
    box-sizing: border-box;
    border-right: initial;
    color: var(--text-color);
}
.miharadai-menu .insurance .lower-nav .ttl {
    width: 100%;
    font-size: 1.2rem;
    text-align: left;
    padding-left: 1rem;
} */
.miharadai-menu .dep-line {
    width: 100%;
}
.miharadai-menu .dep-line.pc-only .nav-bar {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: initial;
    height: 11vw;
    max-height: 120px;
}
.miharadai-menu .department ul {
    margin-top: 18px;
}
.miharadai-menu .dep-line .image {
    width: 41%;
    height: 11vw;
    max-height: 120px;
}
.miharadai-menu .dep-line .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.miharadai-menu .dep-line .tbl {
    display: block;
    width: 53%;
    height: 100%;
    background-color: #f1ede6;
    box-sizing: border-box;
    position: relative;
}
.miharadai-menu .dep-line .tbl span {
    position: absolute;
    top: 50%;
    left: 35%;
    white-space: nowrap;
    transform: translate(-35%, -50%);
    -webkit-transform: translate(-35%, -50%);
    -moz-transform: translate(-35%, -50%);
}
.miharadai-menu .dep-line .toggle-button {
    margin: 0 10px;
    width: 25px;
    height: 25px;
}


/* トップ画像 */
.miharadai .top-content .hero {
    position: relative;
}

/* .miharadai .top-content .hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(171, 202, 241, 0.1);
} */
.miharadai .top-content .hero::before {
    content: '';
    position: absolute;
    top: 62%;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(169, 198, 236, 0.5);
}
.miharadai .top-content .hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.025) 50%, rgba(255, 255, 255, 0) 85%, rgba(0, 0, 0, 0) 100%);
}
.miharadai .top-content .hero .images {
    width: 100%;
    height: 45vw;
}
.miharadai .top-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position: center center; */
    object-position: center 78%;
}
.miharadai .catchcopy {
    position: absolute;
    top: 12%;
    left: 5%;
    transform: translate(-5%, -50%);
    -webkit-transform: translate(-5%, -50%);
    -moz-transform: translate(-5%, -50%);
    z-index: 990;
}
.miharadai .catchcopy>img {
    width:100%;
    height:100%;
    /* max-width:625px; */
    max-width:30rem;
}
/* html.large .miharadai .catchcopy>img{
    max-width:815px;
} */
.miharadai .catchcopy p {
    font-size: 2.3rem;
    color: #ffffff;
    text-shadow: 6px 8px 16px #363636;
}
.miharadai .transfer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    /* width: 50%; */
    /* width:70%; */
    width:90%;
    margin: 0 auto;
    z-index: 10;
    /* max-width: 1200px; */
    /* max-width:775px; */
    max-width:39.4rem;
    max-height: 30vh;
    margin-top: 10vw;
}
.miharadai .important {
    height: auto;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
}
.miharadai .important-item {
    /* width: 25%; */
    width:calc(100% / 5);
    display:flex;
    flex-direction: column;
}
.miharadai .important a {
    display: flex;
    flex-direction: column;
    flex:1 1 auto;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    /* color: #000000; */
    color:var(--text-color);
    background-color: #ffffff;
    border-radius: 5px;
    padding: 25px 0;
    transition: background-color, 0.3s;
}
.miharadai .important-item:not(:first-child) a {
    /* border-left: 1px solid #000000; */
    border-left: 1px solid var(--text-color);
}
.miharadai .important .trans-item {
    width: 8vw;
    height: 8vw;
    max-width: 70px;
    max-height: 70px;
    min-height: 40px;
    min-width: 40px;
    transition: transform, 0.3s;
}
.miharadai .important a:hover .trans-item {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
}
.miharadai .important .trans-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    vertical-align: bottom;
}
.miharadai .important .trans-txt {
    width: 100%;
    padding-top: 20px;
    flex-grow:1;
}
.miharadai .trans-txt h3 {
    font-size: 1.05rem;
    text-align: center;
    letter-spacing: 0.05em;
    font-weight: 500;
    /* white-space: nowrap; */
}
.miharadai .sub-trans {
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin-top: 25px;
}
.miharadai .sub-trans .sub-trans-item {
    width: 50%;
    min-width: 240px;
}
.miharadai .sub-trans .sub-trans-item a {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none;
    /* color: #000000; */
    color:var(--text-color);
    background-color: #ffffff;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    max-height: 10vh;
    padding: 10px 20px;
    box-sizing: border-box;
    transition: color, background-color, 0.3s;
}
.miharadai .sub-trans .sub-trans-item a:hover {
    background-color: #f6ffed;
}
/* .miharadai .sub-trans-item:nth-child(1){
    margin-right: 10px;
} 
.miharadai .sub-trans-item:nth-child(2) {
    margin-left: 10px;
} */
.miharadai .sub-trans .sub-trans-item .item {
    width: 8vw;
    height: 8vw;
    max-width: 60px;
    max-height: 60px;
    transition: transform, 0.3s;
}
.miharadai .sub-trans .sub-trans-item a:hover .item {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
}
.miharadai .sub-trans .sub-trans-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    vertical-align: bottom;
}
.miharadai .sub-trans .sub-trans-item .txt {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 12px;
    width: 80%;
}
.miharadai .sub-trans .sub-trans-item .txt h3 {
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    /* text-wrap: nowrap; */
}
.miharadai .sub-trans .sub-trans-item .txt span {
    font-size: 20px;
}
.miharadai .outpatient tr th:nth-child(1), .miharadai .outpatient tr th:nth-child(2), .miharadai .outpatient tr th:nth-child(3) {
    position: sticky;
}
.miharadai .outpatient tr .fst, .miharadai .outpatient tr .scd {
    position: sticky;
}

/* 外来診察日程表（三原台病院共通） */
.miharadai .sub-contents {
    max-width: 1200px;
    width: 95%;
    margin: 50px auto;
    padding-top: 50px;
    border-top: 2px solid #999999;
}
.miharadai .sub-contents h2 {
    font-size: 1.7rem;
    /* color: #5facdf; */
    letter-spacing: 0.05em;
    font-weight: 500;
}
.miharadai .schedule .outpatient {
    width: 100%;
    max-width: 1200px;
    padding-top: 30px;
    overflow-x: auto;
}
.miharadai .schedule table {
    width: 100%;
    box-sizing: border-box;
    border-collapse: collapse;
    border: 2px solid #9c9c9c;
    border-collapse: separate;
}
.miharadai .schedule table th {
    font-weight: 500;
    padding: 10px;
    border: 1px solid #9c9c9c;
    background-color: #73b7e4;
    font-size: 1.15rem;
}
.miharadai .schedule table tr {
    overflow-x: auto;
}
.miharadai .outpatient .schedule table tr th:first-child, .miharadai .outpatient  .schedule table tr td:first-child {
    position: sticky;
    left: 0;
}
.miharadai .schedule .tbl-wrap {
    display: none;
}
.miharadai .schedule table td {
    text-align: center;
    line-height: 1.5em;
    padding: 12px 8px;
    border: 1px solid #9c9c9c;
    vertical-align: middle;
    width: 10.7%;
    font-size: 1.05rem;
    white-space: nowrap;
}
.miharadai .schedule table td.no-data {
    background-color: #f2f2f2;
}
.miharadai .outpatient .schedule table td:first-child {
    background-color: #d2e8f5;
}
.miharadai .schedule table tr.odd {
    background-color: #deeef8;
}
.miharadai .schedule table td.fst {
    width: 10%;
    font-size: 1.15rem;
}
.miharadai .schedule table td.scd {
    width: 12.5%;
}
.miharadai .schedule table .morning {
    display: inline-block;
    padding: 5px 15px;
    background-color: #2589d0;
    border-radius: 10px;
    color: #ffffff;
}
.miharadai .schedule table .afternoon {
    display: inline-block;
    padding: 5px 15px;
    background-color: #bc4250;
    border-radius: 15px;
    color: #ffffff;
}

/* 新着情報 */
.miharadai .news-wraper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
.miharadai .news .hospital {
    width: calc(100% * 0.6);
    padding-top: 30px;
}
.miharadai .news .hospital .tbl-ttl h3 {
    font-size: 1.6rem;
    color: #6bb4b9;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.miharadai .news .tbl-ttl {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.miharadai .news .archive {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #9c9c9c;
    border-radius: 25px;
    text-decoration: none;
    /* color: #000000; */
    color:var(--text-color);
    padding: 10px 12px;
    /* width: 130px; */
    width:8.17rem;
    transition: color, background-color, 0.3s;
    font-size: 1.05rem;
}
.miharadai .news .archive:hover {
    color: #ffffff;
    background-color: #1f7de7;
}
.miharadai .news .news-wrap {
    padding-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
.miharadai .news .news-content {
    width: 48.75%;
}
.miharadai .news .category .ttl {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.miharadai .news .category .img {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.miharadai .news .category .image {
    width: 5vw;
    height: 5vw;
    max-width: 35px;
    max-height: 35px;
}
.miharadai .news .category .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    min-width: 23px;
    min-height: 23px;
}
.miharadai .news .category .ttl .mark {
    display: block;
    width: 20px;
    height: 20px;
    min-width:20px;
    min-height:20px;
    border-radius: 50%;
    /* border: 1px solid #000000; */
    border: 1px solid var(--text-color);
    position: relative;
}
.miharadai .news .category .ttl .mark span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
}

.miharadai .news .category h3 {
    padding-left: 8px;
    font-size: 1rem;
    font-weight: 500;
}
.miharadai .news .date {
    /* width: 50px; */
    width:2.4rem;
    text-align: center;
}
.miharadai .news a {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none;
    /* color: #000000; */
    color:var(--text-color);
    transition: color, border, 0.3s;
}
.miharadai .news .hospital .news-data a:hover {
    color: #1f7de7;
}
.miharadai .news .hospital .news-data a:hover .day {
    border-color: #1f7de7;
}
.miharadai .news .date .year {
    font-size: 0.95rem;
    display: block;
    padding-bottom: 3px;
}
.miharadai .news .date .day {
    display: block;
    font-size: 0.95rem;
    /* border-top: 1px solid #000000; */
    border-top: 1px solid var(--text-color);
    padding-top: 3px;
    transition: color, border, 0.3s;
}
.miharadai .news .news-inf {
    padding-top: 10px;
}
.miharadai .news .news-data {
    padding: 25px 0;
    /* border-top: 1px solid #000000; */
    border-top: 1px solid var(--text-color);
}
.miharadai .news .news-data .title {
    padding-left: 10px;
    font-size: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.miharadai .news .day-reha {
    width: calc(100% * 0.375);
    padding-top: 30px;
}
.miharadai .news .day-reha .tbl-ttl h3 {
    font-size: 1.6rem;
    color: #eb9864;
    font-weight: 500;
}
.miharadai .news .day-reha .news-data a:hover, .miharadai .news .day-reha .news-data a:hover .day {
    color: #eb9864;
    border-color: #eb9864;
}

/* ピックアップ */
.miharadai .pickup.sub-contents {
    max-width: initial;
    width: initial;
    margin: 50px auto;
}
.miharadai .pickup .pickup-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}
.miharadai .pickup .ttl {
    padding-bottom: 30px;
}
.miharadai .pickup .pickup-wrap::after {
    content: "";
    position: absolute;
    background-color: #f7f5f2;
    z-index: -1;
    top: 30%;
    left: 0;
    right: calc(((100vw - 100%) / 2) * -1);
    width: 100%;
    height: calc(100% - 120px);
    border-radius: 0 5px 5px 0;
}
.miharadai .pickup .content {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    position: relative;
    z-index: 1;
    width: 95%;
    height: 100%;
}
.miharadai .pickup .main-line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.miharadai .pickup .main-line a {
    /* color: #000000; */
    color:var(--text-color);
    text-decoration: none;
    width: calc(100% / 3.2);
    display: block;
    height: auto;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, .1);
    transition: .2s ease-in-out;
    transition-property: box-shadow, color;
    background-color: #fff;
    overflow: hidden;
}
.miharadai .pickup .main-line a:hover img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
}
.miharadai .pickup .main-line a:hover {
    color: #1f7de7;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, .15);
}
.miharadai .pickup .main-line .img {
    height: 220px;
}
.miharadai .pickup .main-line img {
    width: 100%;
    height: 100%;
    vertical-align: bottom;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.17, .84, .44, 1);
}
.miharadai .pickup .main-line .information {
    padding: 15px;
    padding-bottom: 80px;
    box-sizing: border-box;
    text-align: left;
    background-color: #ffffff;
    position: relative;height: calc(100% - 220px);
}
.miharadai .pickup .main-line .cate {
    opacity: 0.5;
    font-size: 1rem;
    line-height: 1.5;
}
.miharadai .pickup .main-line p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 1.05rem;
    margin-top: 8px;
    line-height: 1.3;
}
.miharadai .pickup .main-line .date {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Open Sans', sans-serif;
    margin-top: 20px;
    /* width: 35px; */
    width:1.68rem;
    bottom: 15px;
}
.miharadai .pickup .main-line .year {
    display: block;
    text-align: left;
    font-size: 1.1rem;
}
.miharadai .pickup .main-line .day {
    display: block;
    font-size: 1.1rem;
    text-align: right;
}
.miharadai .pickup .main-line .date::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #383838;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
}

.miharadai .pickup .sub-line {
    padding-top: 45px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 25px;
}
.miharadai .pickup .sub-line a {
    /* color: #000000; */
    color:var(--text-color);
    text-decoration: none;
    width: calc(100% / 3.2);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: auto;
    transition: .2s ease-in-out;
    transition-property: box-shadow, color;
    background-color: #ffffff;
    height: 100px;
}
.miharadai .pickup .sub-line a:hover {
    color: #1f7de7;
}
.miharadai .pickup .sub-line a:hover img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
}
.miharadai .pickup .sub-line .img {
    width: 30%;
    height: 100%;
    overflow: hidden;
}
.miharadai .pickup .sub-line img {
    width: 100%;
    height: 100%;
    vertical-align: bottom;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.17, .84, .44, 1);
}
.miharadai .pickup .sub-line .information {
    width: 67%;
}
.miharadai .pickup .sub-line .information p {
    font-size: 1.05rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.3;
}
.miharadai .facility {
    margin-top: 100px;
    border-top: initial;
}
.miharadai .facility .ttl {
    text-align: center;
}
.miharadai .facility .ttl h2 {
    position: relative;
}
.miharadai .facility .ttl::after {
    content: "";
    margin-top: 3px;
    text-align: center;
    width: 215px;
    height: 22.5px;
    display: inline-block;
    background-image: url(../images/top/title-bar.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.miharadai .facility .content {
    padding-top: 50px;
}
.miharadai .facility .other {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}
.miharadai .facility .other a {
    /* color: #000000; */
    color:var(--text-color);
    text-decoration: none;
    width: 48.5%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    overflow: hidden;
    transition: .2s ease-in-out;
}
.miharadai .facility .other a:last-child {
    margin-top: 30px;
}
.miharadai .facility .other a:first-child:hover {
    color:#f3b388;
}
.miharadai .facility .other a:nth-child(2):hover {
    color: #b2e97f;
}
.miharadai .facility .other .img {
    padding: 15px;
    background-color: #f7f5f2;
    width: 38.5%;
    box-sizing: border-box;
}
.miharadai .facility .other .images {
    width: 100%;
    height: 17vw;
    max-height: 200px;
    overflow: hidden;
}
.miharadai .facility .other .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 1s cubic-bezier(.17, .84, .44, 1);
}
.miharadai .facility .other a:hover .img img {
    transform: scale(1.15);
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
}
.miharadai .facility .other .information {
    width: 58.5%;
}
.miharadai .facility .other h5 {
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.3;
}
.miharadai .facility .other h5 span {
    font-size: 0.9rem;
}
.miharadai .facility .other p {
    padding-top: 10px;
    font-size: 1rem;
    line-height: 1.3;
}
.miharadai .facility .other a:last-child:hover {
    color: #ed9dc1;
}

/* フッター */
.miharadai-footer .copyright {
    position: relative;
    padding: 15px 0;
    text-align: center;
    background-color: #534741;
    color: #ffffff;
    z-index: 990;
}
.miharadai-footer .footer-sub {
    padding-top: 40px;
    width: 100%;
    margin: 0 auto;
}
.miharadai-footer .footer-sub ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}
.miharadai-footer .footer-line ul li {
    text-align: center;
}
.miharadai-footer .footer-line ul a {
    /* color: #000000; */
    color: var(--text-color);
    text-decoration: none;
    transition: color, 0.3s;
}
.miharadai-footer .footer-line {
    padding-top: 50px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 50px;
}
.miharadai-footer .footer-line span.big {
    font-size: 1.3rem;
}
.miharadai-footer .footer-line span.small {
    font-size: 1rem;
    display: inline-block;
    padding-bottom: 6px;
}
.miharadai-footer .footer-line li:first-child a:hover {
    color: #1f7de7;
}
.miharadai-footer .footer-line li:nth-child(2) a:hover {
    color: #f3b388;
}
.miharadai-footer .footer-line li:nth-child(3) a:hover {
    color: #7cc544;
}
.miharadai-footer .footer-line li:last-child a:hover {
    color: #ed9dc1;
}
.miharadai-footer {
    background-image: url(../images/bg-footer.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.miharadai-footer .copyright p {
    font-size: 0.9rem;
}
.miharadai-footer::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0.8) 70%,  rgba(255, 255, 255, 0.75) 80%, rgba(255, 255, 255, 0.7) 100%);
}
.miharadai-footer .footer-wrapper {
    max-width: 1200px;
    width: 95%;
    margin: 20px auto 0;
    position: relative;
    z-index: 990;
}
.miharadai-footer .footer-img {
    padding-top: 70px;
}
.miharadai-footer .image {
    width: 100%;
    height: auto;
}
.miharadai-footer .image a {
    z-index: 990;
}
.miharadai-footer .image img {
    width: 100%;
    height: 100%;
    max-width: 375px;
    max-height: 80px;
    object-fit: contain;
    object-position: center center;
    z-index: 990;
}
.miharadai-footer .footer-sub {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}
.miharadai-footer .footer-line ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.miharadai-footer .footer-sub p {
    font-size: 1.15rem;
    letter-spacing: 0.05em;
}
.miharadai-footer .footer-sub dd {
    padding-top: 5px;
}
.miharadai-footer .footer-sub a {
    /* color: #000000; */
    color:var(--text-color);
    text-decoration: none;
    transition: color, 0.3s;
}
.miharadai-footer .question, .miharadai-footer .contact {
    padding-top: 20px;
    font-size: 1.15rem;
}
.miharadai-footer .footer-sub .copyright {
    padding-top: 30px;
}
.miharadai-footer .footer-sub .copyright p {
    font-size: 0.9rem;
}
.miharadai-footer .lists {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.miharadai-footer .lists a {
    /* color: #000000; */
    color:var(--text-color);
    text-decoration: none;
    font-size: 1.15rem;
    margin: 10px 0;
    transition: color, 0.3s;
    display:flex;
}
.miharadai-footer .lists span:last-child {
    display: inline-block;
    padding-left: 20px;
}
.miharadai-footer a:hover {
    color: #1f7de7;
}
.miharadai-footer .sp-only {
    display: none;
}


/* 三原台病院サブページ共通 */
.sub-page .top-base .img {
    position: relative;
}
.sub-page .top-base .images {
    width: 100%;
    /* height: 20vw; */
    height:30vw;
    max-height: 800px;
}
.sub-page .top-base .img::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 1;
}
.sub-page .top-base .images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 10% 28%;
    transition: all 0.3s;
}
.sub-page .rel-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    z-index: 100;
}
.sub-page .top-base .ttl {
     position: absolute;
    /*top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%); */
    top:15%;
    left:50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    max-width:1200px;
    width:90%;
    margin:0 auto;
    z-index: 110;
}
.sub-page .top-base .ttl h1 {
    font-size: 2.3rem;
    color: #f5f4f4;
    font-weight: 500;
    /* text-shadow: 4px 4px 10px #161616; */
    text-shadow: 3px 3px 10px rgb(127, 102, 102, 0.57);
    mix-blend-mode:multiply;
}
.sub-page .top-base {
    padding-top: 130px;
}
.sub-page .important-wrap {
    background-color: #e7eaef;
    position: fixed;
    top: 100px;
    left: 0;
    z-index: 900;
    width: 100%;
    height: 130px;
    transition:top 0.8s ease-out;
}
.sub-page .important-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /* max-width: 1100px; */
    max-width:1200px;
    margin: 0 auto;
    z-index: 100;
}
.sub-page .important-list .important-item {
    width: calc(100% / 6);
    background-color: #eff2f5;
    height: 130px;
}
.sub-page .important-item a {
    position: relative;
    text-decoration: none;
    /* color: #000000; */
    color:var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 130px;
    transition: all 0.3s;
    position:relative;
    top:50%;
    transform:translateY(-50%);
}
.sub-page .important-item a::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    border-right: 2px solid #dedede;
    border-bottom: 2px solid #dedede;
    bottom: 7px;
    right: 7px;
}
.sub-page .important-list .important-item
/* .sub-page .important-item:nth-child(4) a {
    padding: initial;
} */
.sub-page .important-item a:hover {
    background-color: #eff2f5;
}
.sub-page .important-item a:hover .trans-item img {
    transform: scale(1.15);
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
}
.sub-page .important-item:not(:first-child) a:hover {
    border-color: initial;
}
.sub-page .important-item .trans-item {
    width: 5vw;
    height: 5vw;
    max-width: 55px;
    max-height: 55px;
}
.sub-page .important-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    vertical-align: bottom;
    transition: all 0.3s;
}
.sub-page .important-item .trans-txt {
    width: 100%;
    padding-top: 10px;
}
.sub-page .important-item:last-child .trans-txt {
    padding-top: 3px;
}
.sub-page .important-item .trans-txt h3 {
    font-size: 1.05rem;
    text-align: center;
    letter-spacing: 0.05em;
    font-weight: 500;
    /* white-space: nowrap; */
}
.sub-page .crumb-wrap {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.sub-page .crumb {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 2%;
    left: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    color: #ffffff;
    font-size: 1.2rem;
}
.sub-page .crumb span {
    margin-right: 8px;
    margin-left: 8px;
}
.sub-page .crumb span:first-child {
    margin-left: initial;
}
.sub-page .crumb span:last-child {
    margin-right: initial;
}
.sub-page .crumb a {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity, text-decoration-color, 0.3s;
}
.sub-page .crumb a:hover {
    opacity: 0.8;
    text-decoration-color: transparent;
}
.sub-page .content {
    padding-top: 30px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.miharadai .important-wrap .important-item:not(:first-child) a {
    border-left: 1px solid #dedede;
}
/* .sub-page .content .tbl-wrap {
    display: none;
} */
.sub-page .content .relation {
    padding-top: 40px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    /* align-items: center; */
    align-items:stretch;
    flex-wrap: wrap;
    gap:10px 40px;
}
.sub-page .content .relation a {
    position: relative;
    font-size: 1.1rem;
    /* width: calc(100% / 3 - 40px); */
    width:calc(calc(100% - calc(40px * 2)) / 3);
    height: 100%;
    padding: 25px 5px;
    text-align: center;
    text-decoration: none;
    /* margin: 0 20px; */
    color: #ffffff;
    transition: border, background-color, 0.3s;
    height:auto;
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    box-sizing: border-box;
}
.sub-page .content .relation a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    background: linear-gradient(to right, #ecedff 30%, #e4f3ff 60%, #e4f3ff 100%);
    border-radius: 8px;
}
.sub-page .content .relation a::after {
    content: "";
    position: absolute;
    width: calc(100% - 5px);
    height: calc(100% - 5px);
    top: 2.5px;
    left: 2.5px;
    z-index: -1;
    border-radius: 8px;
    background: #6bb4b9;
    transition: 0.3s background-color ease-in-out;
}
.sub-page .content .relation a:hover::after {
    background-color: #9c9c9c;
}
/* .sub-page .content .relation a:first-child {
    margin-left: 0;
}
.sub-page .content .relation a:nth-child(3) {
    margin-right: 0;
} */
.sub-page .sub-info {
    padding-top: 50px;
}
.sub-page .sub-info .ttl {
    text-align: center;
}
.sub-page .sub-info .ttl h2 {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 500;
}
.sub-page .sub-info .ttl::after {
    content: "";
    margin-top: 3px;
    text-align: center;
    width: 275px;
    height: 20px;
    display: inline-block;
    background-image: url(../images/top/title-bar.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* 三原台病院サブページ（外来のご案内） */
.outpatient .sub-info .related-link, .sub-ject .sub-info .related-link {
    padding-top: 40px;
}
.outpatient .sub-info .related-link .links, .subject .sub-info .related-link .links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* padding: 50px 30px; */
    padding:50px 45px;
    box-sizing: border-box;
    border: 2px solid #7fa5c3;
    border-radius: 30px;
    width: 100%;
    gap: 25px;
}
.outpatient .sub-info .related-link .links a, .subject .sub-info .related-link .links a {
    position: relative;
    font-size: 1.2rem;
    /* white-space: nowrap; */
    padding: 8px 15px;
    color: #7fa5c3;
    border: 1px solid #7fa5c3;
    border-radius: 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: color, background-color, 0.3s;
}

.outpatient .sub-info .arrow-wrap {
    display: block;
    /* width: 100%;
    height: 100%; */
    padding-left: 15px;
}
.outpatient .sub-info .arrow {
    position: relative;
    display: inline-block;
    /* width: 11.3px;
    height: 11px; */
    width:0.54rem;
    height:0.52rem;
}
.outpatient .sub-info .arrow::before,
.outpatient .sub-info .arrow::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 1.5px);
    width: 2px;
    height: 11px;
    border-radius: 9999px;
    background-color: #7fa5c3;
    transform-origin: 50% calc(100% - 1.5px);
    transition: 0.3s background-color, ease-in-out;
}
.outpatient .sub-info .arrow::before {
  transform: rotate(27.5deg);
}
.outpatient .sub-info .arrow::after {
  transform: rotate(-27.5deg);
}
.outpatient .sub-info a:hover .arrow::before,
.outpatient .sub-info a:hover .arrow::after {
    background-color: #ffffff;
}
.outpatient .sub-info a.active .arrow::before,
.outpatient .sub-info a.active .arrow::after {
    background-color: #ffffff;
    color: #ffffff;
}


.outpatient .sub-info .related-link .links a:hover::before, .subject .sub-info .related-link .links a:hover::before {
    border-color: #ffffff;
}
.outpatient .sub-info .related-link .links a:hover, .subject .sub-info .related-link .links a:hover {
    background-color: #7fa5c3;
    color: #ffffff;
}
.outpatient .sub-info .related-link .links a.active, .subject .sub-info .related-link .links a.active {
    background-color: #7fa5c3;
    color: #ffffff;
    pointer-events: none;
}
.outpatient .sub-info .related-link .links a.active::before, .subject .sub-info .related-link .links a.active::before {
    border-color: #ffffff;
}
.outpatient .sub-info .related-link .links a, .subject .sub-info .related-link .links a {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.outpatient .sub-info .tbl-list {
    padding-top: 50px;
    height: 360px;
}
.outpatient .sub-info .tbl-ttl {
    padding-top: 40px;
    padding-bottom: 25px;
    border-top: 2px solid #9c9c9c;
}
.outpatient .sub-info .tbl-ttl h3 {
    font-size: 1.5rem;
    font-weight: 500;
}
.outpatient .sub-info .clinical {
    margin-bottom: 45px;
}
.outpatient .sub-info table thead th {
    background-color: #d2e8f5;
}
.outpatient .sub-info .scroll-hint-icon {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    padding: 15px 10px 15px 10px;
    width: 230px;
}
.outpatient .sub-info .scroll-hint-text {
    font-size: 16px;
}
.outpatient .sub-info .scroll-hint-icon:before {
    width: 30px;
    height: 30px;
}


/* 診療科目一覧 */
.subject .sub-info .related-link {
    padding-top: 40px;
}
.subject .sub-info .related-link .links .arrow-wrap {
    display: block;
    /* width: 100%;
    height: 100%; */
    padding-left: 15px;
}
.subject .sub-info .arrow {
    position: relative;
    display: inline-block;
    width: 11.3px;
    height: 11px;
}
.subject .sub-info .arrow::before,
.subject .sub-info .arrow::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 1.5px);
    width: 2px;
    height: 11px;
    border-radius: 9999px;
    background-color: #7fa5c3;
    transform-origin: 50% calc(100% - 1.5px);
    transition: 0.3s background-color, ease-in-out;
}
.subject .sub-info .arrow::before {
    transform: rotate(27.5deg);
}
.subject .sub-info .arrow::after {
    transform: rotate(-27.5deg);
}
.subject .sub-info a.active .arrow::before,
.subject .sub-info a.active .arrow::after,
.subject .sub-info a:hover .arrow::before,
.subject .sub-info a:hover .arrow::after {
    background-color: #ffffff;
}
.subject .sub-info .lists {
    padding-top: 50px;
    min-height:350px;
}
.subject .sub-info .lists .contents {
    display: none;
    padding-top: 50px;
}
.subject .sub-info .lists .contents.active{
    display:block;
}
.subject .sub-info .lists .contents:first-child {
    padding-top: initial;
}
.subject .sub-info .titles {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.subject .sub-info .titles .bg-img {
    height: 100%;
    /* background-color: #8dc556; */
    background-color:var(--miharadai-primary);
    border-radius: 20px;
    padding: 15px;
}
.subject .sub-info .titles img {
    width: 100%;
    height: 100%;
    max-height: 35px;
}
.subject .sub-info .clinical-name {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}
.subject .sub-info .titles h3 {
    padding-left: 15px;
}
.subject .sub-info .lists h3 {
    font-size: 1.5rem;
    font-weight: 500;
}
.subject .sub-info .reservation {
    /* background-color: #8dc556; */
    background-color:var(--miharadai-primary);
    padding: 8px 15px;
    border-radius: 5px;
}
.subject .sub-info .reservation span {
    font-size: 1.1rem;
    color: #ffffff;
    display: block;
    white-space: nowrap;
}
.subject .sub-info .sub-ttl {
    padding-top: 40px;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-top: 2px solid #9c9c9c;
    position: relative;
}
.subject .sub-info .sub-ttl::before, .subject .sub-info .sub-ttl::after {
    content: "";
    position: absolute;
    height: 2px;
    bottom: 0;
    left: 0;
}
.subject .sub-info .sub-ttl::before {
    width: 100px;
    /* background-color: #8dc556; */
    background-color:var(--miharadai-primary);
    z-index: 1;
}
.subject .sub-info .sub-ttl::after {
    width: 100%;
    background-color: #c3c3c3;
}
.subject .sub-info .sub-ttl h4 {
    font-size: 1.3rem;
    font-weight: 500;
}
.subject .sub-info .related-link .links a {
    font-size: 1.2rem;
}
.subject .sub-info .staff .picture {
    display: flex;
    flex-direction: row;
    /* justify-content: space-between; */
    /* align-items: center; */
    /* align-items:flex-end; */
    align-items:flex-start;
    flex-wrap: wrap;
    gap: 15px;
}
.subject .sub-info .staff .images {
    width: calc(100% / 5 - 12px);
    max-width:calc(100% / 5 - 12px);
    height: 100%;
    display:flex;
    flex-direction: column;
    flex:1 1 auto;
}
.subject .sub-info .staff .images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    
    
}
.subject .sub-info .staff .images img.defaultimg{
    box-shadow:0 0 2px #9c9c9c;/* border:1px solid #9c9c9c; */
}
.subject .sub-info .staff .detail {
    text-align: center;
    font-size: 1.1rem;
    padding-top: 10px;
    flex-grow:1;
}
.subject .sub-info .information {
    padding-top: 35px;
}
.subject .sub-info .information dt {
    font-size: 1.1rem;
    padding-bottom: 12px;
}
.subject .sub-info .information dd {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.05em;
}
.subject .sub-info .flx-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}
.subject .sub-info .flx-row .description {
    width: 80%;
    margin-left: 15px;
}
.subject .sub-info .flx-row .description ul {
    list-style: none;
}
.subject .sub-info .flx-row .description ul li {
    position: relative;
    margin: 10px 0;
    line-height: 1.6;
    padding-left: 16px;
    font-size: 1rem;
}
.subject .sub-info .flx-row .description ul li::before {
    content: "";
    /* background-color: #8dc556; */
    background-color:var(--miharadai-primary);
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    top: 10px;
    left: 0;
    display: flex;
    align-items: flex-start;
    justify-content: left;
}
.subject .sub-info #diabetes_lifestyle-related-disease .information {
    padding-top: initial;
}
.subject .sub-info .line-ttl {
    padding: 15px 0;
    /* background-color: #edf8e1; */
    background-color:#e4f3ff;
    border-radius: 5px;
}
.subject .sub-info .images .detail p {
    font-size: 1.1rem;
}
.subject .sub-info .line-ttl h5 {
    padding-left: 20px;
    box-sizing: border-box;
    font-weight: 500;
    font-size: 1.2rem;
}
.subject .sub-info .lineup-content:last-child .sub-ttl {
    border-top: initial;
    padding-top: 30px;
    padding-bottom: 15px;
}
.subject .sub-info .lineup-content:last-child .line-ttl {
    margin-top: 30px;
}
.subject .sub-info .detail {
    padding-top: 15px;
}
.subject .sub-info .detail p {
    font-size: 1rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
    text-align: justify;
}
.subject .sub-info .lineup-content:last-child .sub-content:first-child .detail {
    padding-top: initial;
}
.subject .sub-info #otolaryngology .staff {
    padding-top: initial;
}
/* .subject .sub-info #otolaryngology .staff .images {
    width: 100%;
} */
.subject .sub-info #otolaryngology .staff .detail {
    padding-top: initial;
    text-align: left;
}
.subject .sub-info #otolaryngology .description{
    font-size:1.1rem;
}
.subject .sub-info #otolaryngology .staff .detail p,
.subject .sub-info #otolaryngology .description p {
    line-height: 1.6;
}
.subject .sub-info #dental .information dl:last-child {
    padding-top: 30px;
}

/* 放射線科 */
.subject .sub-info #radiology .information .sub-ttl {
    border-top: initial;
    padding-top: initial;
}
.subject .sub-info #radiology .information .images {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
.subject .sub-info #radiology .information .images .img {
    width: 41%;
}
.subject .sub-info #radiology .information .img img {
    width: 100%;
    height: 100%;
    max-height: 335px;
    object-fit: cover;
    object-position: center center;
}
.subject .sub-info #radiology .information .images .detail {
    width: 57%;
    padding-top: initial;
}
.subject .sub-info #radiology .information .img2 {
    width: 100%;
    height: 100%;
    padding-top: 5px;
}
.subject .sub-info #radiology .information .img2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.subject .sub-info #radiology .information .notice h5 {
    margin-top: 30px;
    padding: 15px 0;
    /* background-color: #edf8e1; */
    background-color:#e4f3ff;
    border-radius: 5px;
    padding-left: 20px;
    box-sizing: border-box;
    font-weight: 500;
    font-size: 1.2rem;
}
.subject .sub-info #radiology .information .notice ul {
    padding-top: 15px;
    list-style: none;
    padding-left: 7px;
}
.subject .sub-info #radiology .information .notice ul li {
    position: relative;
    margin: 12px 0;
    line-height: 1.6;
    padding-left: 16px;
    font-size: 1rem;
}
.subject .sub-info #radiology .information .notice ul li::before {
    content: "";
    /* background-color: #8dc556; */
    background-color:var(--miharadai-primary);
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    top: 10px;
    left: 0;
    display: flex;
    align-items: flex-start;
    justify-content: left;
}
.subject .sub-info #radiology .information .lineup-content:nth-child(3), .subject .sub-info #radiology .information .lineup-content:last-child {
    margin-top: 30px;
}
.subject .sub-info #radiology .information .lineup-content:nth-of-type(2),
.subject .sub-info #radiology .information .lineup-content:last-of-type {
    margin-top: 30px;
}
 .subject .sub-info .accodion-block .information{
    padding-top:0;
 }
.subject .sub-info #radiology .information .lineup-content .images {
    padding-top: 15px;
}

/* 新着情報 */
.news .sub-info {
    padding-top: 40px;
}
.news .sub-info .sub-ttl {
    text-align: center;
}
.news .sub-info .sub-ttl::after {
    content: "";
    margin-top: 3px;
    text-align: center;
    width: 275px;
    height: 20px;
    display: inline-block;
    background-image: url(../images/top/title-bar.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.news .sub-info .sub-ttl h2 {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 500;
}
.news .sub-info .tab-container {
    padding-top: 40px;
}
.news .sub-info .tab-container ul {
    list-style: none;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 50%;
}
.news .sub-info .tab-container ul li {
    min-height: 65px;
    width: 100%;
    max-width:calc(100% / 2); /*カテゴリー数次第で変更*/
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.news .sub-info .tab-container ul a {
    /* color: #000000; */
    color:var(--text-color);
    border: 2px solid #9c9c9c;
    display: flex;
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    text-decoration: none;
    padding: 4px 5px;
    box-sizing: border-box;
    font-weight: 500;
    font-size: 1.2rem;
    background-color: #f5f5f5;
    transition: background-color, color, 0.3s ease-in-out;
}
.news .sub-info .tab-container ul li:last-child a {
    border-left: initial;
}
.news .sub-info .tab-container ul a.bg-hv {
    /* background-color: #8dc556; */
    background-color:var(--miharadai-secondary);
    color: #ffffff;
}
.news .sub-info .tab-container ul a:hover {
    /* background-color: #8dc556; */
    background-color:var(--miharadai-secondary);
    color: #ffffff;
}
.news .sub-info .contents {
    padding-top: 45px;
}
.news .sub-info .contents ul {
    list-style: none;
}
.news .sub-info .contents ul a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    /* color: #000000; */
    color:var(--text-color);
    padding: 25px 0;
    border-bottom: 1px solid #9c9c9c;
    transition: color 0.3s ease-in-out;
}
.news .sub-info .contents ul a:hover {
    /* color: #8dc556; */
    color:var(--miharadai-tertiary);
}
.news .sub-info .contents ul li:first-child a {
    padding-top: initial;
}
.news .sub-info .contents ul a .flx-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 15px;
    width: 100%;
}
.news .sub-info .contents ul a .flx-row .date {
    margin-right: 30px;
    font-size: 1rem;
}
.news .sub-info .contents ul a .flx-row .all {
    display: inline-block;
    width: 15%;
    /* max-width: 120px;
    min-width: 100px; */
    max-width:5.76rem;
    min-width:4.8rem;
    font-size: 1.05rem;
    color: #ffffff;
    background-color: #e27c8d;
    height: 30px;
    position: relative;
}
.news .sub-info .contents ul a .flx-row .patient_cate {
    display: inline-block;
    width: 15%;
    /* max-width: 120px;
    min-width: 100px; */
    max-width:5.76rem;
    min-width:4.8rem;
    font-size: 1.05rem;
    color: #ffffff;
    background-color: #7eb3d7;
    height: 30px;
    position: relative;
}
.news .sub-info .contents ul a .flx-row .category span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    white-space: nowrap;
}
.news .sub-info .contents ul a .inf p {
    font-size: 1.1rem;
    line-height: 1.3;
    letter-spacing: 0.05em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.news .sub-info .contents .tabs {
    display: none;
    opacity: 0;
    transition: opacity, 0.5s ease-in-out;
}
.news .sub-info .contents .tabs.active {
    display: block;
    opacity: 1;
}
.news .sub-info .contents .pagination {
    display: flex;
    margin-top: 80px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    display: -webkit-box;
    display: -ms-flexbox;
}
.news .sub-info .contents .pagination .current {
    display: inline-block;
    width: 40px;
    height: 45px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    /* border: 1px solid #8dc556;
    background-color: #8dc556; */
    border: 1px solid var(--miharadai-secondary);
    background-color: var(--miharadai-secondary);
    color: #ffffff;
    margin: 0 8px;
    line-height: 45px;
}
.news .sub-info .contents .pagination a {
    display: inline-block;
    width: 40px;
    height: 45px;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    /* border: 1px solid #8dc556;
    color: #8dc556; */
    border: 1px solid var(--miharadai-secondary);
    color: var(--miharadai-secondary);
    margin: 0 6px;
    line-height: 45px;
    transition: color, background-color, 0.3s ease-in-out;
}
.news .sub-info .contents .pagination a:hover {
    /* background-color: #8dc556; */
    background-color:var(--miharadai-secondary);
    color: #ffffff;
}

/* 介護・在宅部門 */
.homecare-news .sub-info .tab-container ul a.bg-hv {
    background-color: #eb9864;
    color: #ffffff;
}
.homecare-news .sub-info .tab-container ul a:hover {
    background-color: #eb9864;
    color: #ffffff;
}
.homecare-news .sub-info .contents ul a:hover {
    color: #eb9864;
}
.homecare-news .sub-info .contents .pagination .current {
    border: 1px solid #eb9864;
    background-color: #eb9864;
}
.homecare-news .sub-info .contents .pagination a {
    border: 1px solid #eb9864;
    color: #eb9864;
}
.homecare-news .sub-info .contents .pagination a:hover {
    background-color: #eb9864;
    color: #ffffff;
}

/* 新着情報記事ページ */
/* 三原台病院用 */
.news-page .container .sub-ttl {
    text-align: center;
}
.news-page .container .sub-ttl::after {
    content: "";
    margin-top: 3px;
    text-align: center;
    width: 275px;
    height: 20px;
    display: inline-block;
    background-image: url(../images/top/title-bar.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.news-page .container .sub-ttl h2 {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 500;
}
.news-page .container .contents {
    padding-top: 40px;
}
.news-page .container .sub-inf {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.news-page .container .sub-inf .date {
    margin-right: 30px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.news-page .container .sub-inf .date span:first-child {
    margin-right: 5px;
}
.news-page .container .sub-inf .date img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0) saturate(100%) invert(25%) sepia(4%) saturate(0%) hue-rotate(123deg) brightness(94%) contrast(80%);
}
.news-page .container .all {
    font-size: 1.05rem;
    display: inline-block;
    width: 15%;
    /* max-width: 120px;
    min-width: 100px; */
    max-width:5.76rem;
    min-width:4.8rem;
    font-size: 1.05rem;
    color: #ffffff;
    background-color: #e27c8d;
    height: 30px;
    position: relative;
}
.news-page .container .patient_cate {
    font-size: 1.05rem;
    display: inline-block;
    width: 15%;
    /* max-width: 120px;
    min-width: 100px; */
    max-width:5.76rem;
    min-width:4.8rem;
    font-size: 1.05rem;
    color: #ffffff;
    background-color: #7eb3d7;
    height: 30px;
    position: relative;
}
.news-page .container .category span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    white-space: nowrap;
}
.news-page .container .titles {
    padding-top: 30px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    position: relative;
}
.news-page .container .titles::before, .news-page .container .titles::after {
    content: "";
    position: absolute;
    height: 4px;
    bottom: 0;
    left: 0;
    border-radius: 10px;
}
.news-page .container .titles::before {
    width: 100px;
    /* background-color: #8dc556; */
    background-color: var(--miharadai-primary);
    z-index: 1;
}
.news-page .container .titles::after {
    width: 100%;
    background-color: #c3c3c3;
}
.news-page .container .titles h3 {
    font-size: 1.5rem;
    font-weight: 500;
}
.news-page .container .news-info {
    padding-top: 15px;
    font-size: 1rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
}
/* .news-page .container .news-info .images {
    width: 70%;
    height: auto;
    margin: 0 auto;
}
.news-page .container .news-info .images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
} */
.news-page .container .news-info img{
    width: 60%;
    height: auto;
    max-width:100%;
    object-fit: cover;
    object-position: center center;
    margin:0 auto;
    display:block;
    /* margin-bottom:30px; */
    padding-top:25px;
}
.news-page .container .news-info ul{
    padding-left:1.1rem;
    font-size:1rem;
    line-height:1;
}
/* .news-page .container .news-info .txts {
    padding-top: 30px;
}
.news-page .container .news-info .txts p {
    font-size: 1rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
} */
.news-page .container .news-info h1{
    font-size:1.65rem;
    font-weight:500;
}
.news-page .container .news-info h2{
    font-size:1.6rem;
    font-weight:500;
}
.news-page .container .news-info h3{
    font-size:1.55rem;
    font-weight:500;
}
.news-page .container .news-info h4{
    font-size:1.5rem;
    font-weight:500;
}
.news-page .container .news-info h5{
    font-size:1.45rem;
    font-weight:500;
}
.news-page .container .news-info h6{
    font-size:1.4rem;
    font-weight:500;
}
.news-page .container .news-info a{
    color:var(--text-color);
    transition:color 0.5s ease-in-out;
}
.news-page .container .news-info a:hover{
    color:var(--miharadai-tertiary);
}
.news-page .container .back {
    padding-top: 50px;
}
.news-page .container .back a {
    display: inline-block;
    font-size: 1.1rem;
    /* color: #000000; */
    color:var(--text-color);
    text-decoration: none;
    transition: opacity, 0.3s ease-in-out;
}
.news-page .container .back a:hover {
    opacity: 0.4;
}
.news-page .container .back a span:first-child {
    display: table-cell;
    vertical-align: middle;
}
.news-page .container .back a span:last-child {
    display: table-cell;
    vertical-align: middle;
    padding-left: 8px;
}
.news-page .container .back img {
    width: 25px;
    height: 25px;
    object-fit: cover;
    object-position: center center;
}

/* 介護・在宅部門 */
.homecare-news .container .titles::before {
    background-color: #eb9864;
}

/* 入院・面会のご案内 */
.hospitalaization .contents {
    padding-top: 30px;
}
.hospitalaization .bed-content {
    padding-top: 40px;
}
.hospitalaization .bed-img, .hospitalaization .visit-wrap .images {
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 300px;
    margin: 0 auto;
}
.hospitalaization .hospital-bed {
    padding-top: 25px;
}
.hospitalaization .bed-img img, .hospitalaization .visit-wrap .images img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: cover;
    object-position: center 75%;
    border-radius: 10px;
}
.hospitalaization .bed-content:first-child {
    padding-top: initial;
}
.hospitalaization .bed-content .tbl-ttl {
    padding-bottom: 20px;
    margin-bottom: 20px;
    position: relative;
}
.hospitalaization .bed-content .tbl-ttl::before, .hospitalaization .bed-content .tbl-ttl::after {
    content: "";
    position: absolute;
    height: 4px;
    bottom: 0;
    left: 0;
    border-radius: 10px;
}
.hospitalaization .bed-content .tbl-ttl::before {
    width: 100px;
    /* background-color: #8dc556; */
    background-color:var(--miharadai-primary);
    z-index: 1;
}
.hospitalaization .bed-content .tbl-ttl::after {
    width: 100%;
    background-color: #c3c3c3;
}
.hospitalaization .bed-content h3 {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    font-weight: 500;
}
.hospitalaization .bed-content .info p {
    font-size: 1.1rem;
    letter-spacing: 0.05rem;
    line-height: 1.6;
}
.hospitalaization .ttl {
    padding-top: 50px;
}
.hospitalaization .ttl:first-child {
    padding-top: initial;
}
.hospitalaization .visitation {
    padding-top: 25px;
}
.hospitalaization .visitation p {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
}
.hospitalaization .time-table {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 20px;
}
.hospitalaization .time-table table {
    width: 100%;
    height: 100%;
}
.hospitalaization .time-table table th {
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    padding: 20px;
    /* background-color: #8dc556; */
    background-color:var(--miharadai-primary);
    color: #ffffff;
    border-radius: 10px 10px 0 0;
    font-weight: 500;
}
.hospitalaization .time-table table td {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
    text-align: center;
    background-color: #f0f7ea;
    padding: 20px;
    border-radius: 0 0 10px 10px;
}

/* 2026.0122追加 フッター部分の修正の制度について修正 => バナー追加 */
.main .banner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 50px;
    max-width: 1200px;
    margin: 0 auto;
}
.main .banner a {
    position: relative;
    width: calc(100% / 3 - 30px);
    margin: 10px 15px;
    height: 15vw;
    text-decoration: none;
    /* width: calc(100% / 3 - 40px); */
    padding: 0px 5px;
    text-align: center;
    /* margin: 0 20px; */
    color: #ffffff;
    transition: border, background-color, 0.3s;
    height: auto;
    box-sizing: border-box;
    transition: font-size, transform, 0.3s ease-in-out;
}
.main .banner a span.ttl-top {
    font-size: 1.5rem;
    display: block;
    width: 100%;
    padding: 25px 0;
    transition: 0.3s background-color ease-in-out;
    color: #949494;
}
.main .banner a span.ttl-top::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    background: linear-gradient(to right, #ecedff 30%, #e4f3ff 60%, #e4f3ff 100%);
    border-radius: 1px;
}
.main .banner a span.ttl-sec {
    display: inline-block;
    font-size: 1rem;
}
.main .banner a span.wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    color: #fff;
}
.main .banner a:first-child span.wrap {
    background-color: #85bcfc;
}
.main .banner a:nth-child(2) span.wrap {
    background-color: #f8be7d;
}
.main .banner a:last-child span.wrap {
    background-color: #7ed482;
}
.main .banner a span.click {
    display: inline-block;
    margin-left: 5px;
}
.main .banner a img {
    width: 100%;
    height: 100%;
    max-width: 30px;
    max-height: 35px;
    transform: rotate(-15deg);
}
.main .banner a:hover {
    transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    -moz-transform: translateY(-15px);
}