@charset "UTF-8";
/*====================================================================================================

　CSS構成

　//絶対に変更しないCSS
　- reset.css           全てのブラウザ固有CSSをリセットするCSS。基本触らないこと。
　- bootstrap.min.css   Bootstrapコンポーネントを利用するためのCSS。基本触らないこと。
　- all.min.css         Font Awesome を利用するためのCSS。基本触らないこと。
　- aos.css             AOSを利用するためのCSS。基本触らないこと。

　//基本的には変更しないCSS
　- base.css            基本の文字設定や、Webフォントの読み込みなど。基本触らなくてもOK。

　//メインで利用しているCSS
　- common.css          ヘッダー、フッター、下層ページのタイトルなど、共通ページレイアウトを記載したCSS
　- stlye.css           各ページ固有のレイアウトを記載したCSS

　//補助的に利用しているCSS
　- module.css          見出しやリスト、テーブルなど、共通利用できるパーツをまとめたCSS
　- utility.css         マージンやパディング、文字サイズや文字色など、補助的に利用できるCSS

====================================================================================================*/



/*/////////////////////////////////////////////////////////////////
  index.html
/////////////////////////////////////////////////////////////////*/

/*------------------------------------------------------------------
  home-hero
------------------------------------------------------------------*/

/*  home-hero
------------------------------------------------------------------*/
.home-hero{
    position: relative;
    width: calc(100% - 120px);
    margin: 0 auto;
}
@media screen and (max-width:991px){
    .home-hero{
        width: 100%;
    }
}
@media print{
    .home-hero{
        width: calc(100% - 30px);
    }
}
/*  home-hero-slider
------------------------------------------------------------------*/
.home-hero-slider .swiper-slide{
    height: 700px;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
}
.home-hero-slider .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media print, screen and (max-width:1399px){
    .home-hero-slider .swiper-slide{
        height: 540px;
        border-radius: 30px;
    }
}
@media screen and (max-width:991px){
    .home-hero-slider .swiper-slide{
        height: 540px;
        border-radius: 0;
    }
}
@media screen and (max-width:575px){
    .home-hero-slider .swiper-slide{
        aspect-ratio: 1 / 1;
        height: auto;
    }
}
/*  home-hero-slider-image
------------------------------------------------------------------*/
.home-hero-slider-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    opacity: 0;
    animation: homeHeroImage .8s ease-out forwards;
}
@keyframes homeHeroImage {
    from{
        opacity: 0;
        transform: scale(1.1);
    }
    to{
        opacity: 1;
        transform: scale(1);
    }
}
/*  home-hero-detail
------------------------------------------------------------------*/
.home-hero-detail{
    position: absolute;
    bottom: 70px;
    left: 100px;
}
@media print, screen and (max-width:1399px){
    .home-hero-detail{
        position: absolute;
        bottom: 50px;
        left: 50px;
    }
}
@media screen and (max-width:575px){
    .home-hero-detail{
        bottom: 6vw;
        left: 6vw;
    }
}
/*  home-hero-title
------------------------------------------------------------------*/
.home-hero-title{
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    margin-bottom: 36px;
    font-size: 1.75rem;
    line-height: 1;
    --letter-spacing: .1em;
}
.home-hero-title .block{
    display: block;
    width: fit-content;
    padding: .4em .8em;
    background: #fff;
    border-radius: 5px;
}
@media screen and (max-width:575px){
    .home-hero-title{
        row-gap: 4vw;
        margin-bottom: 6vw;
        font-size: 6vw;
    }
}
@media print{
    
}
/*  home-hero-text
------------------------------------------------------------------*/
.home-hero-text{
    font-size: 1rem;
    color: #fff;
    line-height: 1.5;
}
@media screen and (max-width:575px){
    .home-hero-text{
        font-size: max(3vw,.75rem);
    }
}


/*------------------------------------------------------------------
  home-schedule
------------------------------------------------------------------*/

/*  home-schedule
------------------------------------------------------------------*/
.home-schedule{
    width: 100%;
    margin-bottom: 20px;
}
.home-schedule > thead > tr > th,
.home-schedule > tbody > tr > th,
.home-schedule > tbody > tr > td{
    padding: 1em;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    border: 1px solid var(--primary-color);
    line-height: 1;
    letter-spacing: 0;
}
.home-schedule > thead > tr > th{
    background: var(--primary-color);
    border-right: 1px solid #fff;
    font-size: 1.125rem;
    color: #fff;
}
.home-schedule > thead > tr > th:last-of-type{
    border-right: 1px solid var(--primary-color);
}
.home-schedule > tbody > tr > th{
    background: var(--primary-light-color);
    font-size: 1rem;
}
.home-schedule > tbody > tr > td{
    font-size: 1.125rem;
    color: var(--primary-color);
}
@media screen and (max-width:991px) {
    .home-schedule > thead > tr > th{
        font-size: 1rem;
    }
    .home-schedule > tbody > tr > th{
        font-size: .875rem;
    }
    .home-schedule > tbody > tr > td{
        font-size: 1rem;
    }
}
@media screen and (max-width:575px) {
    .home-schedule{
        width: 100%;
    }
    .home-schedule > thead > tr > th,
    .home-schedule > tbody > tr > th,
    .home-schedule > tbody > tr > td{
        padding: .75em;
        font-size: .75rem;
    }
    .home-schedule > tbody > tr > th{
        padding: .75em .15em;
    }
}


/*------------------------------------------------------------------
  home-about
------------------------------------------------------------------*/

/*  home-about
------------------------------------------------------------------*/
.home-about{
    overflow: hidden;
}
/*  home-about-wrapper
------------------------------------------------------------------*/
.home-about-wrapper{
    display: flex;
    align-items: flex-start;
    column-gap: 100px;
}
@media print, screen and (max-width:1399px) {
    .home-about-wrapper{
        column-gap: 60px;
    }
}
@media screen and (max-width:1199px) {
    .home-about-wrapper{
        column-gap: 30px;
    }
}
@media screen and (max-width:767px) {
    .home-about-wrapper{
        flex-direction: column;
        row-gap: 40px;
    }
}
/*  home-about-detail
------------------------------------------------------------------*/
.home-about-detail{
    flex-shrink: 0;
    width: 656px;
    padding: 70px 0;
}
@media print, screen and (max-width:1399px) {
    .home-about-detail{
        width: 50%;
        padding: 40px 0;
    }
}
@media screen and (max-width:767px) {
    .home-about-detail{
        width: 100%;
        padding: 0;
    }
}
/*  home-about-image
------------------------------------------------------------------*/
.home-about-image{
    width: 910px;
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}
.home-about-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width:767px) {
    .home-about-image{
        width: 100%;
        margin-right: none;
        border-radius: 10px;
    }
}


/*------------------------------------------------------------------
  home-news
------------------------------------------------------------------*/

/*  home-news
------------------------------------------------------------------*/
.home-news{
    padding: 56px 0 80px;
}
@media screen and (max-width:767px){
    .home-news{
        padding: 60px 0;
    }
}

/*  home-news-wrapper
------------------------------------------------------------------*/
.home-news-wrapper{
    display: flex;
    justify-content: space-between;
    column-gap: 60px;
}
@media screen and (max-width:991px){
    .home-news-wrapper{
        flex-direction: column;
    }
}
/*  home-news-title-area
------------------------------------------------------------------*/
.home-news-title-area{
    flex-shrink: 0;
    padding-top: 24px;
}
@media screen and (max-width:991px){
    .home-news-title-area{
        padding-top: 0;
    }
}
/*  home-news-list
------------------------------------------------------------------*/
.home-news-list{
    width: 100%;
    max-width: 1100px;
}
@media screen and (max-width:991px){
    .home-news-list{
        margin-bottom: 30px;
    }
}

/*  home-news-list-item
------------------------------------------------------------------*/
.home-news-list-item{
    position: relative;
    width: 100%;
    display: block;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-right: 60px;
    border-bottom: 1px solid #ccc;
    font-size: 0.875rem;
    cursor: pointer;
    transition: .2s ease-out;
}
.home-news-list-item::after{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-size: 12px;
    font-weight: bold;
    color: var(--primary-color);
    transition: .3s ease-out;
}
.home-news-list-item .detail{
    display: flex;
    align-items: center;
    column-gap: 10px;
    margin-bottom: 8px;
}
.home-news-list-item .new{
    font-family: var(--en-font);
    font-weight: bold;
    color: var(--accent-color);
    line-height: 1;
}
.home-news-list-item .date{
    color: #666;
    line-height: 1;
}
.home-news-list-item .category{
    display: block;
    padding: 0.5em 1.5em;
    background: var(--primary-color);
    border-radius: 2em;
    font-size: 0.75rem;
    color: #fff;
    line-height: 1;
}
.home-news-list-item .title{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    line-height: 1.4;
    transition: .2s ease-out;
}
/* ホバー時動作 */
@media (hover:hover) {
    .home-news-list-item:hover::after{
        transform: translateY(-50%) scale(0.8);
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: #fff;
    }
    .home-news-list-item:hover .title{
        color: var(--primary-color);
    }
}
@media (hover:none) {
    .home-news-list-item:active::after{
        transform: translateY(-50%) scale(0.8);
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: #fff;
    }
    .home-news-list-item:active .title{
        color: var(--primary-color);
    }
}
@media screen and (max-width:767px){
    .home-news-list-item{
        padding: 20px 0;
    }
    .home-news-list-item::after{
        display: none;
    }
    .home-news-list-item .detail{
        column-gap: 10px;
    }
    .home-news-list-item .new{
        font-size: .75rem;
    }
    .home-news-list-item .date{
        font-size: .75rem;
    }
    .home-news-list-item .category{
        font-size: .625rem;
    }
}


/*------------------------------------------------------------------
  home-medical
------------------------------------------------------------------*/

/*  home-medical-link
------------------------------------------------------------------*/
.home-medical-link{
    position: relative;
    display: block;
}
.home-medical-link .image{
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
}
.home-medical-link .image::after{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .3;
    transition: .3s ease-out;
    content: "";
    z-index: 1;
}
.home-medical-link .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: .3s ease-out;
}
.home-medical-link .title{
    position: absolute;
    bottom: 38px;
    left: 30px;
    font-size: 1.5rem;
    color: #fff;
    line-height: 1;
    z-index: 2;
}
.home-medical-link .arrow{
    position: absolute;
    bottom: 30px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    aspect-ratio: 1 / 1;
    background: var(--primary-color);
    border-radius: 50%;
    font-size: 12px;
    color: #fff;
    transition: .3s ease-out;
    z-index: 2;
}
@media (hover:hover) {
    .home-medical-link:hover .image::after{
        opacity: .5;
    }
    .home-medical-link:hover .image img{
        transform: scale(1);
    }
    .home-medical-link:hover .arrow{
        transform: scale(0.8);
        background: var(--accent-color);
    }    
}
@media (hover:none) {
    .home-medical-link:active .image::after{
        opacity: .5;
    }
    .home-medical-link:active .image img{
        transform: scale(1);
    }
    .home-medical-link:active .arrow{
        transform: scale(0.8);
        background: var(--accent-color);
    }    
}
@media screen and (max-width:1399px){
    .home-medical-link .title{
        bottom: 32px;
        left: 20px;
        font-size: 1.25rem;
    }
    .home-medical-link .arrow{
        bottom: 28px;
        right: 16px;
        width: 32px;
        font-size: 10px;
    }
}
@media screen and (max-width:991px){
    .home-medical-link .image{
        border-radius: 12px;
    }
    .home-medical-link .title{
        bottom: 24px;
        left: 16px;
        font-size: 1.125rem;
    }
    .home-medical-link .arrow{
        bottom: 20px;
        right: 12px;
        width: 28px;
    }
}
@media screen and (max-width:767px){
    .home-medical-link .image{
        height: 120px;
    }
    .home-medical-link .title{
        transform: translateY(50%);
        bottom: 50%;
        left: 20px;
        font-size: 1.375rem;
    }
    .home-medical-link .arrow{
        transform: translateY(50%);
        bottom: 50%;
        right: 12px;
        width: 40px;
    }
    @media (hover:hover) {
        .home-medical-link:hover .arrow{
            transform: translateY(50%) scale(0.8);
            background: var(--accent-color);
        }    
    }
    @media (hover:none) {
        .home-medical-link:active .arrow{
            transform: translateY(50%) scale(0.8);
            background: var(--accent-color);
        }    
    }
}
@media screen and (max-width:575px){
    .home-medical-link .image{
        height: 100px;
        border-radius: 8px;
    }
    .home-medical-link .title{
        font-size: 1.25rem;
    }
    .home-medical-link .arrow{
        width: 36px;
    }
}


/*------------------------------------------------------------------
  home-links
------------------------------------------------------------------*/

/*  home-links
------------------------------------------------------------------*/
.home-links{
    padding: 80px 0;
    background: url(../images/home-links-bg.jpg) no-repeat center / cover;
}
@media screen and (max-width:991px){
    .home-links{
        padding: 60px 0;
    }
}
@media screen and (max-width:575px){
    .home-links{
        padding: 40px 0;
    }
}

/*  home-links-btn
------------------------------------------------------------------*/
.home-links-btn{
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 20px;
    padding: 24px;
    background: #fff;
    border-radius: 10px;
}
.home-links-btn .icon{
    flex-shrink: 0;
}
.home-links-btn .title{
    flex: 1;
    font-size: 1.25rem;
    line-height: 1.5;
}
.home-links-btn .arrow{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    aspect-ratio: 1 / 1;
    background: var(--primary-color);
    border-radius: 50%;
    font-size: 12px;
    color: #fff;
    transition: .3s ease-out;
    z-index: 2;
}
@media (hover:hover) {
    .home-links-btn:hover .arrow{
        transform: scale(0.8);
        background: var(--accent-color);
    }    
}
@media (hover:none) {
    .home-links-btn:active .arrow{
        transform: scale(0.8);
        background: var(--accent-color);
    }    
}
@media screen and (max-width:1199px){
    .home-links-btn{
        padding: 20px;
        column-gap: 16px;
    }
    .home-links-btn .icon{
        width: 60px;
    }
    .home-links-btn .title{
        font-size: 1.125rem;
    }
    .home-links-btn .arrow{
        width: 32px;
        font-size: 10px;
    }
}
@media screen and (max-width:991px){
    .home-links-btn{
        padding: 16px;
        column-gap: 12px;
    }
    .home-links-btn .icon{
        border-radius: 48px;
    }
    .home-links-btn .title{
        font-size: 1rem;
    }
    .home-links-btn .arrow{
        width: 28px;
    }
}


/*/////////////////////////////////////////////////////////////////
  about.html
/////////////////////////////////////////////////////////////////*/

/*------------------------------------------------------------------
  about-floor
------------------------------------------------------------------*/

/*  about-floor-card
------------------------------------------------------------------*/
.about-floor-card{
    height: 100%;
    padding: 30px;
    border-radius: 10px;
    background: #fff;
}
.about-floor-card .image{
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
}
.about-floor-card .title{
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.5;
}
.about-floor-card .text{
    font-size: .875rem;
}
@media screen and (max-width:575px){
    .about-floor-card{
        padding: 30px 20px;
    }
}

/*------------------------------------------------------------------
  about-access
------------------------------------------------------------------*/

/*  about-access-map
------------------------------------------------------------------*/
.about-access-map{
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
}
.about-access-map iframe{
    width: 100%;
    height: 100%;
}
@media screen and (max-width:1199px) {
    .about-access-map{
        height: 360px;
    }
}
@media screen and (max-width:767px) {
    .about-access-map{
        aspect-ratio: 4 / 3;
        height: auto;
        margin-bottom: 30px;
    }
}

/*  about-access-detail
------------------------------------------------------------------*/
.about-access-detail{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 30px;
    row-gap: 30px;
}
@media screen and (max-width:575px) {
    .about-access-detail{
        justify-content: center;
    }
}

/*  about-access-list
------------------------------------------------------------------*/
.about-access-list{
    display: flex;
    flex-direction: column;
    row-gap: .5em;
    line-height: 1.5;
}
.about-access-list > li{
    position: relative;
    padding-left: 1.25em;
}
.about-access-list > li > i{
    position: absolute;
    top: .3em;
    left: 0;
    color: var(--primary-color);
}



/*/////////////////////////////////////////////////////////////////
  medical.html
/////////////////////////////////////////////////////////////////*/

/*  medical-image
------------------------------------------------------------------*/
.medical-image{
    height: 300px;
    margin-bottom: 40px;
    border-radius: 30px;
    overflow: hidden;
}
.medical-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width:991px){
    .medical-image{
        height: 240px;
        border-radius: 20px;
    }
}
@media screen and (max-width:575px){
    .medical-image{
        height: 180px;
        border-radius: 10px;
    }
}

/*  medical-flow
------------------------------------------------------------------*/
.medical-flow{
    display: grid;
    grid-template-columns: repeat(8,1fr);
    column-gap: 40px;
    margin-bottom: 20px;
}
.medical-flow > li{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    background: #efefef;
    font-size: 1.125rem;
    writing-mode: vertical-lr;
}
.medical-flow > li::after{
    position: absolute;
    top: 50%;
    right: -26px;
    transform: translateY(-50%);
    width: 12px;
    height: 24px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid var(--primary-color);
    content: "";
}
.medical-flow > li:last-of-type::after{
    display: none;
}
.medical-flow > li .asterisk{
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .875rem;
    color: var(--accent-color);
    writing-mode: horizontal-tb;
}
@media screen and (max-width:767px){
    .medical-flow{
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
    .medical-flow > li{
        padding: 12px;
        font-size: 1rem;
        writing-mode: horizontal-tb;
    }
    .medical-flow > li::after{
        top: initial;
        bottom: -15px;
        left: 50%;
        right: initial;
        transform: translateX(-50%);
        width: 16px;
        height: 8px;
        border-top: 8px solid var(--primary-color);
        border-bottom: initial;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
    }
    .medical-flow > li .asterisk{
        position: relative;
        bottom: initial;
        left: initial;
        transform: initial;
    }
}



/*/////////////////////////////////////////////////////////////////
  news.html
/////////////////////////////////////////////////////////////////*/

/*  news-list
------------------------------------------------------------------*/
.news-list{
    margin-bottom: 60px;
}
@media screen and (max-width:575px){
    .news-list{
        margin-bottom: 40px;
    }
}

/*  news-item
------------------------------------------------------------------*/
.news-item{
    border-bottom: 1px solid #ccc;
}
/*  news-item-head
------------------------------------------------------------------*/
.news-item-head{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 24px 56px 24px 0;
    cursor: pointer;
}
.news-item-head .new{
    display: inline-block;
    font-weight: bold;
    color: var(--accent-color);
    line-height: 1;
}
.news-item-head .date{
    display: inline-block;
    color: #666;
    line-height: 1;
}
.news-item-head .category{
    display: block;
    padding: 0.5em 1.5em;
    background: var(--primary-color);
    border-radius: 2em;
    font-size: 0.75rem;
    color: #fff;
    line-height: 1;
}
.news-item-head .title{
    width: 100%;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.4;
    transition: .2s ease-out;
}
.news-item-head .opener{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: .3s ease-out;
}
@media (hover:hover) {
    .news-item-head:hover .title{
        color: var(--primary-color);
    }
    .news-item-head:hover .opener{
        transform: translateY(-50%) scale(0.8);
        background: var(--primary-color);
        color: #fff;
    }
}
@media screen and (max-width:575px){
    .news-item-head{
        padding: 20px 0;
    }
    .news-item-head .new{
        font-size: .75rem;
    }
    .news-item-head .date{
        font-size: .75rem;
    }
    .news-item-head .category{
        font-size: .625rem;
    }
    .news-item-head .opener{
        display: none;
    }
}
/*  news-item-body
------------------------------------------------------------------*/
.news-item-body{
    display: none;
    margin-bottom: 24px;
}
@media screen and (max-width:575px){
    .news-item-body{
        margin-bottom: 20px;
    }
}



/*/////////////////////////////////////////////////////////////////
  staff.html
/////////////////////////////////////////////////////////////////*/

/*  staff-incho-box
------------------------------------------------------------------*/
.staff-incho-box{
    display: grid;
    grid-template-columns: 40% 1fr;
    column-gap: 80px;
    margin-bottom: 30px;
}
.staff-incho-box .image{
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}
.staff-incho-box .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.staff-incho-box .detail{
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}
.staff-incho-box .position{
    margin-bottom: .6em;
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}
.staff-incho-box .name{
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}
.staff-incho-box .name small{
    display: inline-block;
}
.staff-incho-box .detail-sp{
    display: none;
}
@media screen and (max-width:991px){
    .staff-incho-box{
        grid-template-columns: 230px 1fr;
        column-gap: 30px;
    }
}
@media screen and (max-width:575px){
    .staff-incho-box{
        grid-template-columns: 120px 1fr;
        column-gap: 20px;
        row-gap: 20px;
        align-items: center;
    }
    .staff-incho-box .image{
        height: auto;
        aspect-ratio: 8 / 9;
        border-radius: 4px;
    }
    .staff-incho-box .detail-sp{
        display: block;
        grid-column: 1 / 3;
    }
    .staff-incho-box .detail-sp .namearea{
        display: none;
    }
    /* 「detail」内の「namearea」以外は消す */
    .staff-incho-box > .detail > :not(.namearea){
        display: none;
    }
}

/*  staff-box
------------------------------------------------------------------*/
.staff-box{
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 20px;
    height: 100%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.staff-box .image{
    text-align: center;
}
.staff-box .detail{
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}
.staff-box .position{
    margin-bottom: .6em;
    font-size: .875rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}
.staff-box .name{
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 1.2;
}
.staff-box .name small{
    display: inline-block;
}
.staff-box .comment{
    font-size: .9125rem;
    line-height: 1.8;
}
.staff-box .caption{
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.5em;
    row-gap: 4px;
    padding: 8px;
    background: #efefef;
    font-size: .875rem;
    line-height: 1.5;
}
.staff-box .history{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.staff-box .history > li{
    padding: 4px 8px;
    border: 1px solid #ccc;
    font-size: .8125rem;
    line-height: 1.5;
    letter-spacing: 0;
}
.staff-box .detail-sp{
    display: none;
}
/* 縮小版表示の場合 */
.staff-box.mini{
    grid-template-columns: 60px 1fr;
    align-items: center;
    column-gap: 12px;
    padding: 12px;
}
@media screen and (max-width:1399px){
    .staff-box{
        grid-template-columns: 80px 1fr;
    }
}
@media screen and (max-width:991px){
    .staff-box{
        grid-template-columns: 60px 1fr;
        align-items: center;
        column-gap: 12px;
        padding: 12px;
    }
    .staff-box .detail{
        row-gap: 8px;
    }
    .staff-box .name{
        font-size: 1rem;
    }
    .staff-box .comment{
        font-size: .875rem;
    }
    .staff-box .caption{
        font-size: .8125rem;
    }
    .staff-box .history{
        gap: 4px;
    }
    .staff-box .history > li{
        font-size: .75rem;
    }
    .staff-box .detail-sp{
        display: block;
        grid-column: 1 / 3;
        margin-top: 10px;
    }
    .staff-box .detail-sp .namearea{
        display: none;
    }
    /* 「detail」内の「name」と「position」以外は消す */
    .staff-box > .detail > :not(.namearea){
        display: none;
    }

}
@media screen and (max-width:575px){
    .staff-box,
    .staff-box.mini{
        grid-template-columns: 46px 1fr;
        column-gap: 10px;
        padding: 10px;
    }
}