/* =========================================================
   下層ページ共通
   ========================================================= */
.breadcrumb{padding:21px 0 0 31px;font-size:13px;font-weight:500;line-height:19px}
.breadcrumb ol{display:flex;flex-wrap:wrap}
.breadcrumb li+li::before{content:"›";margin:0 8px}
.breadcrumb a{transition:color var(--dur-hover) var(--ease)}
.breadcrumb a:hover{color:var(--blue)}
.page-head{padding:109px 0 0 80px}
.page-head__ttl{position:relative;padding-top:0;font-size:45px;font-weight:700;line-height:65px}
.page-head__ttl::before{content:"";position:absolute;left:7px;top:-3px;width:25px;height:5px;
  background:radial-gradient(circle 2.5px at 2.5px 2.5px,#cae0f5 98%,transparent) 0 0/5px 5px no-repeat,
             radial-gradient(circle 2.5px at 2.5px 2.5px,#a5cbef 98%,transparent) 10px 0/5px 5px no-repeat,
             radial-gradient(circle 2.5px at 2.5px 2.5px,#5197de 98%,transparent) 20px 0/5px 5px no-repeat}
.page-head__desc{margin-top:14px;font-size:18px;font-weight:500;line-height:26px}
.js .page-head__anim{opacity:0;transform:translate3d(0,18px,0);animation:fadeUp 1s var(--ease) forwards;animation-delay:var(--d,0s)}

/* 青い帯見出し */
.band{display:flex;align-items:center;height:90px;padding-left:35px;border-radius:20px;background:var(--blue);color:#fff;font-size:33px;font-weight:700;line-height:48px}
/* リンクグリッド */
.lgrid{display:grid}
.lgrid a{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;height:90px;padding:0 12px 0 13px;border-bottom:1px solid var(--gray-line);font-size:18px;font-weight:700;line-height:25px;transition:color var(--dur-hover) var(--ease)}
.lgrid a::after{content:"";position:absolute;left:0;bottom:-1px;height:1px;width:100%;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .5s var(--ease)}
@media (hover:hover){
  .lgrid a:hover{color:var(--blue)}
  .lgrid a:hover::after{transform:scaleX(1)}
  .lgrid a:hover .arrow-box{background:var(--blue);color:#fff}
}

/* second */
.p-patient{padding:162px 0 292px}
.p-patient__inner{width:min(1080px,calc(100% - 80px));margin-inline:auto}
.p-patient .lgrid{grid-template-columns:repeat(3,342px);justify-content:space-between;margin-top:50px}
.p-patient .band+.lgrid{margin-top:50px}
.p-patient section+section{margin-top:151px}
.p-patient section+section .lgrid{margin-top:44px}

/* third */
.p-dept{display:grid;grid-template-columns:275px minmax(0,1002px);column-gap:83px;padding:156px 80px 305px 0}
.p-dept__main{padding-top:46px}
.side{position:relative}
.side__box{position:sticky;top:calc(var(--header-h) + 30px);width:275px;padding:59px 30px 66px 40px;border-radius:0 20px 20px 0;background:#fff;box-shadow:0 0 5px rgba(0,0,0,.12)}
.side__ttl{position:relative;padding:12px 0 0 1px;font-size:20px;font-weight:700;line-height:24px}
.side__ttl::before{content:"";position:absolute;left:3px;top:0;width:14px;height:3px;
  background:radial-gradient(circle 1.5px at 1.5px 1.5px,#cae0f5 98%,transparent) 0 0/3px 3px no-repeat,
             radial-gradient(circle 1.5px at 1.5px 1.5px,#a5cbef 98%,transparent) 5.5px 0/3px 3px no-repeat,
             radial-gradient(circle 1.5px at 1.5px 1.5px,#5197de 98%,transparent) 11px 0/3px 3px no-repeat}
.side__list{margin-top:25px;border-top:1px solid #ededed}
.side__list li{border-bottom:1px solid #ededed}
.side__list a{position:relative;display:flex;align-items:center;height:67px;padding-left:30px;font-size:16px;font-weight:700;transition:color var(--dur-hover) var(--ease),padding-left var(--dur-hover) var(--ease)}
.side__list a::before{content:"";position:absolute;left:12px;top:50%;width:4px;height:4px;margin-top:-2px;border-radius:50%;background:var(--blue);transition:transform var(--dur-hover) var(--ease)}
.side__list a:hover,.side__list a.is-current{color:var(--blue)}
.side__list a.is-current{padding-left:34px}
.side__list a.is-current::before{transform:scale(1.6)}
.h2{position:relative;padding-left:29px;font-size:30px;font-weight:700;line-height:36px}
.h2::before{content:"";position:absolute;left:0;top:0;width:13px;height:36px;border-radius:3px;background:var(--blue);transform-origin:top}
.js .h2[data-reveal]::before{transform:scaleY(0);transition:transform .8s var(--ease) .2s}
.js .h2[data-reveal].is-in::before{transform:none}
.dept-sec{scroll-margin-top:calc(var(--header-h) + 30px)}
.dept-sec+.dept-sec{margin-top:106px}
#schedule{margin-top:143px}
#depts{margin-top:160px}
.dept-lead{margin-top:28px;font-size:16px;font-weight:400;line-height:35px}
.btn-card{display:flex;align-items:center;justify-content:space-between;width:312px;height:60px;padding:0 17px 0 23px;border-radius:20px;background:#fff;box-shadow:0 0 5px rgba(0,0,0,.16);font-size:16px;font-weight:500;transition:color var(--dur-hover) var(--ease),box-shadow .15s ease-out,transform .15s ease-out}
.btn-card--w342{width:342px}
.btn-card:hover{color:var(--blue);box-shadow:0 6px 14px rgba(0,0,0,.12);transform:translateY(-2px)}
.btn-card:hover .arrow-box{background:var(--blue);color:#fff}
.btn-row{display:flex;gap:32px;margin-top:49px}
.h2+.btn-row{margin-top:55px}
.doctors{margin-top:56px;display:flex;flex-direction:column;gap:27px}
.doc{padding:63px 65px 66px;border-radius:20px;background:var(--gray-bg2)}
.doc__head{display:flex;align-items:center;justify-content:space-between;padding-bottom:9px;border-bottom:1px solid rgba(112,112,112,.1)}
.doc__name{font-size:25px;font-weight:700;line-height:36px}
.doc__link{display:inline-flex;align-items:center;gap:10px;font-size:16px;font-weight:700;transition:color var(--dur-hover) var(--ease)}
.doc__link i{display:grid;place-items:center;width:25px;height:25px;border-radius:10px;background:var(--blue);color:#fff;transition:transform var(--dur-hover) var(--ease),background-color var(--dur-hover) var(--ease)}
.doc__link:hover{color:var(--blue)}
.doc__link:hover i{background:var(--blue-dark)}
.doc__dl>div{display:grid;grid-template-columns:129px 1fr;align-items:center;min-height:57px;padding:11px 0;border-bottom:1px solid rgba(112,112,112,.1);font-size:16px;line-height:27px}
.doc__dl dt{padding-left:3px;color:var(--blue);font-weight:700}
.doc__dl dd{font-weight:400}
.tbl-wrap{margin-top:21px;border-radius:20px;background:#fff;box-shadow:0 0 5px rgba(0,0,0,.12);overflow:hidden}
.schedule{width:100%;table-layout:fixed;text-align:center}
.schedule th,.schedule td{border:1px solid var(--gray-bg2)}
.schedule tr>*:first-child{border-left:0}.schedule tr>*:last-child{border-right:0}
.schedule tr:last-child>*{border-bottom:0}
.schedule thead th{height:66px;background:var(--blue);color:#fff;font-size:16px;font-weight:700;border:0;border-left:1px solid #fff}
.schedule thead th:first-child{border-left:0}
.schedule col.c0{width:142.5px}
.schedule tbody th{background:var(--gray-bg2);font-size:16px;font-weight:700;border-color:#fff}
.schedule td{height:65px;padding:6px 4px;font-size:16px;font-weight:500;line-height:22px;transition:background-color var(--dur-hover) var(--ease)}
.schedule td small{display:block;font-size:11px;line-height:16px}
.schedule td.none{color:var(--gray-text)}
.schedule td:not(.none):hover{background:rgba(237,245,253,.6)}
.schedule td.none{pointer-events:none;-webkit-user-select:none;user-select:none}
.note{margin-top:13px;font-size:14px;font-weight:400;line-height:23px}
.dept-list{display:grid;grid-template-columns:repeat(4,229.8px);justify-content:space-between;margin-top:54px}
.dept-list a{display:flex;align-items:center;gap:12px;height:80px;margin-bottom:8px;border-bottom:1px solid var(--gray-line);font-size:16px;font-weight:700;transition:color var(--dur-hover) var(--ease)}
.dept-list a span{color:var(--blue);font-size:25px;font-weight:500;line-height:1;transform:translateY(-2px);transition:transform var(--dur-hover) var(--ease)}
.dept-list a:hover,.dept-list a[aria-current="page"]{color:var(--blue)}
.p-dept .lgrid{grid-template-columns:repeat(3,312px);justify-content:space-between;margin-top:22px}
.p-dept .band{padding-left:35px}
.p-dept .band-sec{margin-top:151px}
.p-dept .band-sec+.band-sec{margin-top:136px}
