@charset "UTF-8";

/*********************************
preset variables
*********************************/
:root {
    --fontSize: 16px;
    --linkColor: #4b9f6b;
    --textColor: #333;
    --subTextColor: #ffffff;
    /* color preset */
    --mainColor: #7ebe1b;
    --mainDarkColor: #308f60;
    --mainLightColor: #e1f0d2;
    --subColor: #f4f9ee;
    --subDarkColor: #9a9a9a;
    --accentColor: #ea8139;
    /* width preset */
    --gutter: 1.3rem;
    --gap: 3rem;
    --contentWidth: 960px;
    --headerHeight: 0px;

    font-feature-settings: "palt";
}

/** 非レスポンシブページ用 */
body {min-width: var(--contentWidth)}

img {
    height: auto;
}

/*************************************
* START header
*************************************/
header {
    padding: 0.5rem 1rem 0;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 72%, rgba(214,214,214,1) 100%);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10000;
}

header .header-body {
    display: flex;
    justify-content: space-between;
}

header h1 {
    margin: 0;
    font-weight: 500;
    font-size: 1.25em;
}

a.site-title {
    color: var(--textColor);
    text-decoration: none;
    line-height: 1.2;
    display: flex;
    align-items: center;
    letter-spacing: 1.5px;
}

a.site-title img {
    width: 48px;
    margin-right: 0.5rem;
}

a.site-title small {
    display: block;
    font-size: 10px;
    color: #969696;
    margin-top: 0.3rem;
    letter-spacing: -0.1px;
}

header .site-root {
    display: flex;
    align-items: center;
}

header .site-root .link {
    margin-right: 2rem;
}

header .site-root a {
    display: flex;
    align-items: center;
    color: var(--textColor);
}

header .site-root a::after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    background-image: url("/web/20240614035129im_/https://www.kyorin-u.ac.jp/univ/user/medicine/nep-rhe/content/images/themes/arrow.png");
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 0.5rem;
}

#global-nav {
    margin-top: 0.5rem;
    border-top: 1px solid #ccc;
    padding: 0.5rem 0;
}

#global-nav .gnav-body {
    display: flex;
}

#global-nav .gnav-body li {
    flex-grow: 1;
}

#global-nav .gnav-body li a {
    display: block;
    padding: .3rem 0 .3rem .75rem;
    height: 100%;
    color: var(--textColor);
    font-size: 1.1rem;
    position: relative;
}

#global-nav .gnav-body li:not(:last-of-type) a {
    padding-right: 1rem;
}

#global-nav .gnav-body li a:hover {
    text-decoration: underline;
}

#global-nav .gnav-body li a::before {
    content:  "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 5px;
    height: 100%;
    background: rgb(51,153,102);
    background: linear-gradient(180deg, rgba(51,153,102,1) 0%, rgba(126,190,27,1) 100%);
}

.eyecatch {
    background-color: var(--mainLightColor);
}

.eyecatch img {
    display: block;
    max-width: var(--contentWidth);
    margin: 0 auto;
}

/*************************************
* END header START main
*************************************/
main {
    display: grid;
    grid-template-columns: 1fr calc(var(--contentWidth) - 230px - 2rem) 2rem 230px 1fr;
    width: 100%;
}

aside {
    grid-column: 4;
    background-color: var(--subColor);
    padding: 2rem 0.5rem;
}

aside a {
    display: block;
    width: 100%;
}

aside a img {
    width: 100%;
    vertical-align: middle;
}

/** common */
article {
    grid-column: 2;
    padding: 2rem 0;
}

.two-cols>* {
    flex-basis: auto;
}

.pagetitle {
    border-bottom: 3px solid var(--mainDarkColor);
    background: var(--mainLightColor);
}

.pagetitle h1 {
    padding: 3rem 1rem;
    background: url("/web/20240614035129im_/https://www.kyorin-u.ac.jp/univ/user/medicine/nep-rhe/content/images/themes/sub_header.png") no-repeat right center;
    background-size: auto 100%;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.breadcrumb {
    margin-block: -1.6rem 0.5rem;
    padding-left: 0;
    font-size: 0.9375rem;
}
.breadcrumb li {
    display: inline-block;
    margin-bottom: 0;
}

.breadcrumb li:not(:last-of-type)::after {
    content: "＞";
    margin: 0 .5rem;
    ont-size: 0.875rem;
}

main h2 {
    padding: .5rem 0.75rem;
    border-radius: 5px;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    background: rgb(126,190,27);
    background: linear-gradient(180deg, rgba(126,190,27,1) 0%, rgba(81,175,102,1) 51%, rgba(48,143,96,1) 100%);
}

main h2 a {
    color: #fff;
}

main.index h2 {
    display: flex;
    justify-content: space-between;
}

main.index h2 a {
    font-size: 0.9375rem;
}

main h3 {
    padding-bottom: .3rem;
    border-bottom: 2px solid var(--mainDarkColor);
    color: var(--mainDarkColor);
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

main h4 {
    padding-left: .4rem;
    border-left: 8px solid var(--accentColor);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

main h5 {
    color: var(--mainDarkColor);
    font-size: 1.1rem;
    font-weight: 700;
}

/** index */
dl.topics-list dt {
    color: var(--mainDarkColor);
    margin-bottom: .8rem;
}

dl.topics-list dt span {
    color: var(--subDarkColor);
    display: inline-block;
    width: 115px;
}

dl.topics-list dd {
    margin-bottom: .8rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid #ccc;
    font-weight: 500;
}

dl.topics-list p {
    margin: 0;
}

.flex-box {
    display: flex;
}

.staff-image {
    display: flex;
    gap: 1rem;
}

table {
    width: 90%;
    margin: 1rem auto 2rem;
}

table thead {
    background-color: var(--mainDarkColor);
    color: #fff;
}

table thead tr td {
    padding: 0.5rem;
}

table tr:nth-of-type(even) {
    background-color: var(--mainLightColor);
}

table tr td {
    padding: 0.2rem 0.5rem;
}

table tr td:first-of-type {
    white-space: nowrap;
}

.img-right {
    float: right;
    width: 50%;
}

.justifyright {
    float: right;
    margin: 0 0 1.5rem 2rem;
}

.two-cols {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.two-cols figure {
    min-width: 40%;
}

p.two-cols-text {
    columns: 2;
    gap: 2rem;
}

p.two-cols-text br {
    display: block;
    content: '';
    margin-bottom: 1rem;
}

ul li {
    margin-bottom: 1rem;
}

.resident-time {
    border: 3px solid var(--accentColor);
    padding: 1rem 1rem 0;
    margin-bottom: 2rem;
}

.resident-time h4 {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    border-left: none;
    font-size: 1.3rem;
}

.resident-time h4 img {
    width: auto;
    height: 1.75rem;
}

.resident-time h4 + p {
    padding-left: 2.7rem;
}



.achievement-form input[type="radio"] {
    display: none;
}

.achievement-form .categories {
    display: flex;
    margin-bottom: var(--gutter);
    border-bottom: 3px solid var(--mainDarkColor);
}

.achievement-form .categories label {
    display: block;
    width: 100%;
    padding: .1rem 1.5rem .3rem;
    background: #f5f5f5;
    color: var(--mainDarkColor);
    text-align: center;
    cursor: pointer;
}

.achievement-form .categories input:checked+label {
    background: var(--mainDarkColor);
    color: #fff;
}

.achievement-form .years {
    display: flex;
    flex-wrap: wrap;
    column-gap: .5rem;
    row-gap: 1rem;
    margin-bottom: var(--gutter);
}

.achievement-form .years label {
    display: block;
    padding: .3rem 1rem;
    border-radius: 1rem;
    border: 2px solid var(--mainDarkColor);
    color: var(--mainDarkColor);
    line-height: 1.2;
    cursor: pointer;
}

.achievement-form .years input:checked+label {
    background: var(--mainDarkColor);
    color: #fff;
}

.achievement-target li+li {
    margin-top: 1rem;
}

@media only screen and (max-width: 700px) {
    .achievement-form .categories {
        flex-wrap: wrap;
        border-bottom: 0;
        border-left: 3px solid var(--mainDarkColor);
        border-right: 3px solid var(--mainDarkColor);
    }

    .achievement-form .categories label {
        width: 100%;
    }
}


@media only screen and (max-width: 700px) {
    p.two-cols-text {
        columns: 1;
    }
}

.anchor-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem .5rem;
    margin-bottom: var(--gutter);
}

.anchor-buttons>a {
    display: block;
    padding: .3rem 1rem;
    border-radius: 1rem;
    border: 2px solid var(--mainDarkColor);
    color: var(--mainDarkColor);
    line-height: 1.2;
    cursor: pointer;
    transition: .2s all;
}

.anchor-buttons>a:hover {
    text-decoration: none;
    background: var(--mainDarkColor);
    color: #fff;
}

.youtube {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.youtube iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/* member */
.lab-card {
    display: flex;
    width: 100%;
    min-height: 240px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.lab-card+.lab-card {
    margin-top: 2rem;
}

.lab-card>.thumbnail {
    flex-basis: 40%;
    position: relative;
}

.lab-card>.thumbnail>* {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.lab-card>.thumbnail>.lab-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5);
}

.lab-card>.content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-basis: 60%;
    padding-top: 1rem;
}

.lab-card>.content>.text {
    padding: 0 2rem;
}

.lab-card>.content>.text>h3 {
    background: unset;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0;
}

.lab-card>.content>.more {
    background-color: var(--mainDarkColor);
    color: #FFFFFF;
    padding: 0;
    margin-bottom: 0;
}

.lab-card>.content>.more a {
    display: flex;
    color: inherit;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    transition: all .4s;
    letter-spacing: .2em;
}

.lab-card>.content>.more a:hover {
    text-decoration: none;
    background-color: #424242;
    letter-spacing: .4em;
}

.flex-box figure{
  margin: 1rem;
}

.flex-box figure figcaption{
  text-align:center;
}

.flex-box.staff,
.flex-box.kitamura-lab{
  justify-content: space-evenly;
}

.flex-box.staff figure img{
  height: 200px;
  text-align:center;
}

.flex-box.arai-lab figure,
.flex-box.kitamura-lab figure{
  text-align: center;
}

.flex-box.arai-lab figure img,
.flex-box.kitamura-lab figure img{
  height: 180px;
  margin-bottom: 0.5rem;
}

.each-hp{
  margin: 3rem 1rem 0;
}
.each-hp a{
  padding: 1rem 2rem;
  border: 2px solid var(--subColor);
  color: var(--textColor);
}
.each-hp a:before{
  content: ">";
  margin-right: 0.5rem;
  color: var(--subDarkColor);
}

/*************************************
* END main START footer
*************************************/
.banners {
    background: var(--mainColor);
    padding: 3rem 0 2rem;
}

.banners-body {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 1.5rem;
}

.banners-body a {
    display: flex;
    width: 100%;
    max-width: 300px;
    height: 70px;
    padding: .3rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: var(--textColor);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
}

.banners-body a .small {
    font-size: .8em;
}

.banners-body a .small-2 {
    font-size: .7em;
}

footer {
    background: var(--mainDarkColor);
}

footer .pagetop {
    display: block;
    height: 50px;
    width: 50px;
    position: absolute;
    bottom: 100%;
    right: 0;
    padding: .5rem;
    background: var(--mainDarkColor);
    color: #fff;
}

footer .footer-nav {
    padding: 2rem 1rem;
}

footer .footer-nav .fnav-body {
    display: flex;
    justify-content: center;
    border-right: 1px solid #9999C6;
}

footer .footer-nav .fnav-body li {
    flex-grow: 1;
    border-left: 1px solid #9999C6;
}

footer .footer-nav .fnav-body li a {
    display: block;
    padding: 0 .5rem;
    color: var(--subTextColor);
    text-align: center;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.2;
}

footer .footer-body {
    display: flex;
    justify-content: space-between;
    max-width: calc(2rem + var(--contentWidth));
    padding: 2rem 1rem;
}

footer .footer-body .address {
    text-align: right;
    line-height: 1.4;
}

footer .copyright {
    padding: .5rem 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: .9rem;
    text-align: center;
}
