/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    width: 100%;
    min-height: 100vh;
    line-height: 1;
    font-family: Arial, 'メイリオ', Meiryo, "Helvetica Neue", Helvetica, "Nimbus Sans L", "ＭＳ Ｐゴシック", verdana, Osaka, "MS PGothic", Sans-Serif;
    text-align: center;

}



.inner {
    width: 100%;
    text-align: left;
    margin: 0 auto;
    z-index: 10;
}

.inner .content {
    width: 90%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

/* header */

header {
    background-color: lightgray;
    position: relative;
    border-bottom: 0.5em solid rgb(101, 47, 151);


}

header #head {
    padding-top: 10px;
    padding-left: 5px;
    padding-bottom: 7px;
    display: inline-block;
}

#head div a {
    position: absolute;
    top: 0;
    left: 120px;
    padding: 40px 0 0 0;
    width: 12.5em;
    font-size: 3.5rem;
    font-weight: bold;
    text-decoration: none;
    color: rgb(101, 47, 151);
    display: inline-block;
}

.subtitle {
    display: block;
    font-size: 1rem;
}


/* ハンバーガーアイコン */
.btn-burger {
    cursor: pointer;
    display: block;
    width: 84px;
    height: 90px;
    position: absolute;
    top: 34px;
    right: 0px;
    background-color: rgb(101, 47, 151, .4);
}

/*ハンバーガーアイコンを作る三本線*/
.icon,
.icon:before,
.icon:after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    height: 2px;
    /*線の太さ*/
    width: 55px;
    /*線の長さ*/
    background-color: #444;
    color: #444;
    border-radius: 2px;
    display: block;
    content: '';
    cursor: pointer;
    margin: auto;
}

/*三本線の間隔*/
.icon:before {
    top: 30px;
}

.icon:after {
    top: -30px;
}

/*チェックボックス非表示*/
.nav-toggle {
    display: none;
}

/*アイコンをクリックしたら*/
.nav-toggle:checked~.btn-burger .icon {
    background: transparent;
}

.nav-toggle:checked~.btn-burger .icon:before {
    transform: rotate(-45deg);
    top: 0;
}

.nav-toggle:checked~.btn-burger .icon:after {
    transform: rotate(45deg);
    top: 0;
}

.icon,
.icon:before,
.icon:after {
    transition: all .8s;
}

nav {
    background-color: rgb(101, 47, 151, .6);
    z-index: 10;
}

.menu {
    list-style: none;
    display: none;
    margin: 0;
    line-height: 120%;
}

.menu li {
    list-style: none;
    text-align: left;
}

.menu li span {
    margin-left: .5em;
    text-decoration: none;
}

.menu li a {
    display: block;
    text-decoration: none;
    color: #fff;
    line-height: 40px;
    padding-left: 2em;
    font-size: 18px;
}

.menu li a:hover {
    background-color: rgb(101, 47, 151);
}

.menu li ul li a {
    padding-left: 5em;
}

.menu li ul li ul li a {
    padding-left: 8em;
}




.page_top_btn {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-weight: bold;
    padding: 30px;
    text-align: center;
    background: rgb(101, 47, 151);
    color: #fff;
    text-decoration: none;
    z-index: 20;
    width: 120px;
    font-size: 20px;
}

.page_top_btn:hover {
    background: rgb(101, 47, 151, 0.8);
    color: rgb(255, 255, 255, 0.8);
}

#head .lang {
    position: fixed;
    bottom: 10px;
    right: 200px;
    font-weight: bold;
    padding: 30px;
    text-align: center;
    background: rgb(101, 47, 151);
    color: #fff;
    transition: 0.3s 0;
    text-decoration: none;
    width: 120px;
    font-size: 20px;
}

#head .lang:hover {
    background: rgb(101, 47, 151, 0.8);
    color: rgb(255, 255, 255, 0.8);
}



/* .menu li:hover a {
    background-color: #efefef;
    color: #444;
} */

.nav-toggle:checked~nav .menu {
    display: block;
}

/* 985px以下の画面 */
@media screen and (max-width: 985px) {
    .inner {
        width: 985px;
        text-align: left;
        margin: 0 auto;
        z-index: 10;
    }

    /* .inner .content {
        width: 750px;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        z-index: 5;
    } */

    .event-item {
        display: flex;
        flex-direction: row;
        /* flex-wrap: wrap; */
    }

}

/* 985px以上1080px以下の画面 */
@media screen and (min-width: 985px) {
    .event-item {
        display: flex;
        flex-direction: row;
        /* flex-wrap: wrap; */
    }

}

/* 1080px以上の画面 */

@media screen and (min-width: 1080px) {

    .inner {
        width: 1500px;
        text-align: left;
        margin: 0 auto;
        z-index: 10;
    }

    .inner .content {
        width: 80%;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        z-index: 5;
    }


    /* ハンバーガーボタン */
    .btn-burger {
        display: none;
        /*1000px以上では使用しない */
    }

    header {
        position: relative;
        padding: 30px 0 0;
        background-color: lightgray;
        border-bottom: none;

    }

    /* .logo {
        width: auto;
        margin: 0 0 20px;
        padding: 0;
        text-align: center;
    }

    .nav-toggle:checked~nav .menu {
        display: none;
    }

    nav {
        height: 75px;
    }

    .menu {
        display: flex;
        justify-content: center;
        height: 75px;
        align-items: center;
    }

    .menu li:not(:last-child) {
        border-right: 1px solid #fff;
    }


    #head div p {
        position: absolute;
        top: 40px;
        left: 700px;
        width: 550px;
        line-height: 150%;
        font-size: 80%;
        color: darkgrey;
    } */

    header #head {
        padding-top: 0px;
        padding-left: 20px;
        padding-bottom: 5px;
        display: inline-block;
    }


    #head div a {
        position: absolute;
        top: 15px;
        left: 140px;
        padding: 40px 0;
        width: 12.5em;
        font-size: 40px;
        font-weight: bold;
        text-decoration: none;
        color: rgb(101, 47, 151);
        display: inline-block;
    }


    .subtitle {
        display: block;
        font-size: 12px;
    }

    #head .lang {
        position: absolute !important;
        top: 40px;
        width: 120px;
        height: 1em;
        right: 100px;
        display: inline-block;
    }

    #head .lang:hover {
        background: rgb(101, 47, 151, 0.8);
        color: rgb(255, 255, 255, 0.8);
    }

    /* nav全体 */
    nav {
        position: relative;
        width: auto;
        background-color: #444;
        color: #efefef;
        margin: 0;
        text-align: center;
        border-top: 0.5em solid rgb(101, 47, 151);
    }



    /* main-menuここから */
    .menu {
        list-style: none;
        display: inline-block;
        padding-left: 0px;
    }

    /* 親階層の状態を示す宣言 */
    .menu li {
        display: inline-block;
        padding: 0;
    }

    /* 親階層のアイテムの状態を示す宣言 */
    .menu li a {
        display: inline-block;
        padding: .5em .8em;
        font-size: 18px;
        text-decoration: none;
        text-align: center;
        color: #efefef;
        width: 140px;
    }

    .f:first-child>a {
        font-size: 14px;
        line-height: 40px;
    }

    .f:last-child>a {
        font-size: 14px;
        line-height: normal;
    }


    .menu li span {
        margin-left: .5em;
        text-decoration: none;
    }

    .menu li:hover a {
        background-color: #efefef;
        color: #444;
        /* text-align: center; */

    }

    .menu li:hover>ul {
        display: block;
        overflow: visible;
        height: auto;
        visibility: visible;

    }

    .menu li ul {
        /* display: none; */
        visibility: hidden;
        position: absolute;
        top: auto;
        height: auto;
    }


    /* 子階層の状態を示す宣言 */
    .menu li ul li {
        display: block;
        background-color: #efefef;
        color: #444;
        text-align: left;
        height: 100%;
    }

    .menu li ul li a {
        text-align: left;
        padding: .5em .8em;
    }


    /* 子階層のアイテムを選択したときに色を変化させる宣言 */
    .menu li ul li a:hover {
        background-color: #ddd;
        overflow: visible;
        display: block;
    }



    /* 子階層を選択しているときに孫階層を現す宣言 */
    .menu li ul li:hover>ul>li {
        display: inline-block;
        visibility: visible;
        height: 100%;
        /* overflow: visible; */
    }

    .d li ul {
        left: 100%;
        width: 100%;
        top: 0;
        position: absolute;
        /* overflow: visible; */
    }

    .f li ul {
        left: 100%;
        width: 100%;
        top: 0;
        position: absolute;
        /* overflow: visible; */
    }

    .menu li ul li ul li a {
        text-align: left;
        padding: .5em .8em;

    }


    /* 孫階層を隠す宣言 */
    .menu li ul li ul li {
        visibility: hidden;
        display: block;
        height: 0;
    }



    /* フッター */
    footer .sp {
        display: none;
    }

    footer span {
        margin-left: 2em;
    }

    .event-item {
        display: flex;
        flex-direction: row;
        /* flex-wrap: wrap; */
    }

}


blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}



/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    margin: 1em 0;
    padding: 0;
    border-top: #ddd 5px dashed;
}

input,
select {
    vertical-align: middle;
}

/* main */

.content h1 {
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    position: relative;
    text-align: left;
    margin: 20px 0 10px 0;
}

.content h2 {
    font-size: 24px;
    font-weight: bold;
    position: relative;
    text-align: left;
    margin: 20px 0 10px 0;
}

.content ul li {
    list-style-position: inside;
    list-style-type: square;
    padding-left: 10px;
    font-size: 1.2rem;
    line-height: 150%;
}

.content p {
    line-height: 150%;
    /* padding-left: 2em; */
    font-size: 20px;
}


table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    white-space: normal;
}

table,
thead,
td {
    border: 1px solid;
    text-align: center;
    line-height: normal;
    vertical-align: middle;
    padding: 5px 10px;
    border-color: black;
    border-width: 1px 0px;
    font-size: 20px;
}

thead {
    font-weight: bolder;
    background-color: #efefef;
}

/* home */




.out {
    position: relative;
}

.in img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: .5s;
    z-index: 0;
}

.out img {
    display: block;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.out input {
    display: none;
}

.in {
    display: flex;
    justify-content: center;
}

.out label span {
    display: block;
    width: 15px;
    height: 15px;
    padding: 7px;
    margin: -40px 0 0;
    border-radius: 100%;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.out label span::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #4287f5;
    opacity: 0.5;
    border-radius: 100%;
}

.out input:nth-of-type(1):checked~.in label:nth-of-type(1) span::before,
.out input:nth-of-type(2):checked~.in label:nth-of-type(2) span::before,
.out input:nth-of-type(3):checked~.in label:nth-of-type(3) span::before,
.out input:nth-of-type(4):checked~.in label:nth-of-type(4) span::before {
    background: #000;
    opacity: 1;
}

.out label span::before {
    animation: slidebutton 14s infinite;
}

@keyframes slidebutton {
    0% {
        opacity: 0.5;
        background: #4287f5;
    }

    3.5% {
        opacity: 1;
        background: #000;
    }

    /* b÷x×100=y */
    25% {
        opacity: 1;
        background: #000;
    }

    /* 100÷c=z */
    28.5% {
        opacity: 0.5;
        background: #4287f5;
    }

    /* y+z */
}

.out label:nth-of-type(2) span::before,
.out label:nth-of-type(2) img {
    animation-delay: 3.5s;
}

.out label:nth-of-type(3) span::before,
.out label:nth-of-type(3) img {
    animation-delay: 7s;
}

.out label:nth-of-type(4) span::before,
.out label:nth-of-type(4) img {
    animation-delay: 10.5s;
}

.out input:nth-of-type(1):checked~.in label:nth-of-type(1) img,
.out input:nth-of-type(2):checked~.in label:nth-of-type(2) img,
.out input:nth-of-type(3):checked~.in label:nth-of-type(3) img,
.out input:nth-of-type(4):checked~.in label:nth-of-type(4) img {
    opacity: 1;
    z-index: 1;
}

.in img {
    animation: slide 14s infinite;
    /* (a+b)×c=x */
    opacity: 0;
}

@keyframes slide {
    0% {
        opacity: 0;
    }

    3.5% {
        opacity: 1;
        z-index: 1;
    }

    /* b÷x×100=y */
    25% {
        opacity: 1;
    }

    /* 100÷c=z */
    28.5% {
        opacity: 0;
        z-index: 0;
    }

    /* y+z */
}

.out input:checked~.in img,
.out input:checked~.in span::before {
    animation: none;
}

.in:hover img,
.in:hover span::before {
    animation-play-state: paused;
    /* マウスを載せると一時停止 */
}



/* update */

dl {
    text-align: left;
    font-size: 20px;
    line-height: 2rem;
}

.update a {
    text-decoration: none;
    color: #000;
    display: block;
    padding: .3em;
}

.update a:hover {
    color: #fff;
    background-color: rgb(101, 47, 151, 0.8);
}

dt {
    font-weight: bold;
}

dd {
    margin-left: 2rem;
}

.update-link {
    display: block;
    text-align: center;
    border: thick solid rgb(101, 47, 151);
    margin: auto 200px;
}


/* history */

/* 横方向へのスクロール */
/* .history-graduated {
    overflow-x: auto;
} */


/* member */

.theme td {
    padding-left: 0;
}

.theme td:last-child {
    text-align: left;
    padding-left: 1em;
}

.portrait {
    position: relative;
    display: inline-block;
    font-size: 0;
    line-height: 0;
}

.portrait:after {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    /* -moz-box-shadow: inset 0px 0px 15px 15px #fff;
    -webkit-box-shadow: inset 0px 0px 15px 15px #fff; */
    box-shadow: inset 0px 0px 15px 15px #fff;
    content: " ";
}

.profile-link {
    display: inline-block;
    text-decoration: none;
    padding: 0.2em;
}

.profile-link:hover {
    background-color: #444;
    color: #fff;
}

/* thesis */

/* 横方向へのスクロール */
/* .phd-thesis,
.mid-master-thesis,
.master-thesis {
    overflow-x: auto;
} */


.master-thesis table {
    max-width: 100%;
}

.master-thesis table thead td:first-child {
    width: 100px;
}

.master-thesis table thead td:nth-child(2) {
    width: 150px;
}


.master-thesis tbody td:last-child {
    text-align: left;
}



/* activity */

.event-month {
    display: block;
    width: 100%;
    padding: 10px 0 10px 20px;
    color: white;
    background: linear-gradient(to right, rgb(101, 47, 151, 0.8), white);
    /* background-color: rgb(101, 47, 151, 0.4); */
}

.event-content,
.comment-content {
    padding: 10px 20px 30px 20px;
    margin: 10px 0 20px 0;
    border: 2px solid black;
    /* border-radius: 240px 15px 100px 15px / 15px 200px 15px 185px; */
    background: #efefef;
}

.event-content h2 {
    padding-bottom: 20px;
}

.event-item {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
}

.event-content img {
    width: 300px;
    margin-right: 2em;
}

/* .comment-content h2 {
    padding-bottom: 5px;
}

.comment-item {
    display: flex;
    flex-direction: row;

}

.coment-content img {
    width: 300px;
    margin-right: 2em;
} */

/* report */


.report-list {
    display: flex;
    margin: 0 auto;
    width: inherit;
}

.report-list>li {
    width: 33%;
}

.report-list li {
    list-style: none;
    display: inline-block;
}


.report-list li a {
    display: block;
    text-decoration: none;
    text-align: center;
    color: #000;
    background-color: #ddd;
    width: 100%;
    padding: 10px 0;
}

.report-list li a:hover {
    background-color: #efefef;
}

.report-list li:hover>ul>li {
    height: 100%;
    overflow: visible;
}

.report-list li ul li {
    display: block;
    width: 100%;
    padding: 0;
    height: 0;
    overflow: hidden;
}


.tsukuba-report,
.secondary-report {
    overflow-x: auto;
}

.tsukuba-report tbody td:first-child {
    text-align: left;
}


/* invitation */
p .indent {
    text-indent: 5em;
}


/* link */

.link ul li {
    list-style: none;
}

.link ul li a {
    text-decoration: none;
    color: #000;
    display: block;
    padding: 5px;
    font-size: 20px;
}

.link ul li a:hover {
    color: white;
    background-color: rgb(101, 47, 151);
}

/* footer */

.footer-pic {
    display: block;
}

/* 
.footer-menu {
    margin: -10px auto;
    text-align: center;
    padding-top: 20px;
}

.footer-menu a {
    color: #000;
    text-decoration: none;
}


footer ul li {
    display: inline-block;
} */

.contact {
    background-color: lightgray;
    border-top: 0.5em solid rgb(101, 47, 151);
    height: auto;
    padding-top: 20px;
    padding-bottom: 30px;
    font-size: 20px;
}

footer h1 {
    padding-bottom: .5em;
}

footer div {
    text-align: center;
    line-height: 1em;
    font-size: 20px;
}

footer span {
    margin-left: 2em;
}