/*
 * grid
 * version:v1.0
 * Developer:popodesign
 * URL:https://popo-design.net
 */

/* 全体の設定
–––––––––––––––––––––––––––––––––––––––––––––––––– */
html {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-size: 62.5%;
}

body {
    color: #000;
    font-family: '游ゴシック Medium', 'Yu GOthic Medium', 'ヒラギノ角ゴ Pro','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,sans-serif;
    background:#fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin:0;
	padding:0;
}

/* グリッド
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 
    position: relative;
}
/* ブロックを縦に表示 */
.row {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
}

.col {
    display: block;
    flex: 1 1 auto;
    margin-left: 0;
    max-width: 100%;
    width: 100%;
}
/* 768px以上の表示 */
@media ( min-width : 768px ) {
.row {
    display: flex;
    flex-direction: row;
    padding: 0;
}
.col {
    margin-left: 4%;
}
	
.col:first-child { 
    margin-left: 0; 
}

.row .col.span-1 {
    flex: 0 0 4.66666666667%;
    max-width: 4.66666666667%;
}
.row .col.span-2 {
    flex: 0 0 13.3333333333%;
    max-width: 13.3333333333%;
}
.row .col.span-3 {
    flex: 0 0 22%;
    max-width: 22%;
}
.row .col.span-4 {
    flex: 0 0 30.6666666667%;
    max-width: 30.6666666667%;
}
.row .col.span-5 {
    flex: 0 0 39.3333333333%;
    max-width: 39.3333333333%;
}
.row .col.span-6 {
    flex: 0 0 48%;
    max-width: 48%;
}
.row .col.span-7 {
    flex: 0 0 56.6666666667%;
    max-width: 56.6666666667%;
}
.row .col.span-8 {
    flex: 0 0 65.3333333333%;
    max-width: 65.3333333333%;
}
.row .col.span-9 {
    flex: 0 0 74.0%;
    max-width: 74.0%;
}
.row .col.span-10 {
    flex: 0 0 82.6666666667%;
    max-width: 82.6666666667%;
}
.row .col.span-11 {
    flex: 0 0 91.3333333333%;
    max-width: 91.3333333333%;
}
.row .col.span-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* オフセット */
.row .col.offset-1 {
    margin-left: 8.66666666667%;
}
.row .col.offset-2 {
    margin-left: 17.3333333333%;
}
.row .col.offset-3 {
    margin-left: 26%;
}
.row .col.offset-4 {
    margin-left: 34.6666666667%;
}
.row .col.offset-5 {
    margin-left: 43.333333333%;
}
.row .col.offset-6 {
    margin-left: 52%;
}
.row .col.offset-7 {
    margin-left: 60.6666666667%;
}
.row .col.offset-8 {
    margin-left: 69.3333333333%;
}
.row .col.offset-9 {
    margin-left: 78.0%;
}
.row .col.offset-10 {
    margin-left: 86.6666666667%;
}
.row .col.offset-11 {
    margin-left: 95.3333333333%;
}    
}


/* 見出し
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: 0.1em;}
h1 { font-size: 3.2rem; line-height: 1.2;  letter-spacing: -.1rem;}
h2 { font-size: 3.0rem; line-height: 1.25; letter-spacing: -.1rem;}
h3 { font-size: 2.8rem; line-height: 1.3;  letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

/* PC表示 */
@media (min-width: 550px) {
  h1 { font-size: 3.0rem; }
  h2 { font-size: 2.8rem; }
  h3 { font-size: 2.5rem; }
  h4 { font-size: 2.0rem; }
  h5 { font-size: 1.8rem; }
  h6 { font-size: 1.5rem; }
}

p {
  margin-top: 0; }


/* リンク
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color: #434C98; 
}
a:hover {
  color: #0FA0CE; }


/* ボタン
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #555;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: .1rem;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #333;
  border-color: #888;
  outline: 0; }


/* リスト
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: circle inside; }
ol {
  list-style: decimal inside; }
ol, ul {
  padding-left: 0;
  margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }
li {
  margin-bottom: 1rem; }


/* コード
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px; }
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }


/* テーブル
–––––––––––––––––––––––––––––––––––––––––––––––––– */
table {
	border-collapse: collapse; }
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }


/* スペース
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 0; }
input,
textarea,
select,
fieldset {
  margin-bottom: 0; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 0; }


/* 全幅
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.full-width {
  width: 100%;
  box-sizing: border-box; }
.max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.pull-right {
  float: right; }
.pull-left {
  float: left; }


/* 罫線
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; 
 }

@charset "UTF-8";
@import url("grid.css");

:root {
    --base-color: #000;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
    --footer-color: #e9e8ee; 
    --top-button-color: #160a57; /* トップに戻るボタンとコピーライトの背景色 */
    --text-white: #fff; 
}

img {
    max-width: 100%;
    height: auto; 
}

a {
    display: block;
    color: var(--link-color);
    text-decoration-line: none;
}

a:hover {
    color: var(--linkhover-color);
}

/* ヘッダー */
.header {
    display: flex;
    align-items: center;  
}

.header-logo {
    height: 60px; 
    width: auto;
    display: block;
    flex-shrink: 0;
}

.contact-button {
    padding: 1rem;
    border: 2px solid var(--base-color);
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    margin: 1rem 0 0 0;
}

nav li {
    flex: 1 0 auto;
}

nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
    font-size: 1.8rem;
}

nav a:hover {
    background-color: var(--white-color);
}

nav a {
    padding: 0.5rem;
}

  
.header {
            display: flex;
            align-items: center;
        }
        
.header h3 {
        margin: 0; 
    }

@media screen and (min-width: 768px) {
    /* PC時はMENUボタンを非表示 */
    #open, #close {
        display: none !important;
    }

    #navi {
        display: block !important;
    }
}

@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .header #open, #close {
        position: absolute;
        top: 20px;
        right: 12px;
    }

     .header-logo {
        width: 80%;
        height: auto;
    }


    nav ul {
        flex-direction: column;
    }

    .header li {
        padding-top: 0;
    }

    /* スマホ時はMENUボタンを表示 */
    #open {
        display: block;
        background: url('http://fujita-hu.ac.jp/~f-ora/images/button.png');
        background-repeat: no-repeat;
        background-size: contain;
        width: 50px;
        height: 50px;
        border: none;
        position: absolute;
        top: 20px;
        right: 12px;
    }

    #close {
        display: block;
        background: url('http://fujita-hu.ac.jp/~f-ora/images/button2.png');
        background-repeat: no-repeat;
        background-size: contain;
        width: 50px;
        height: 50px;
        border: none;
        position: absolute;
        top: 20px;
        right: 12px;
    }

    /* スマホ時はメニューを非表示 */
    #navi {
        display: none;
    }
}

/* メインコンテンツ */
main {
    margin: 1rem 0 0 0;
}

section {
    margin: 5rem 0;
    padding: 3rem 0;
}

.gray-back {
    background-color: var(--white-color); 
}


/* リンクのスタイル */
.news-list .item a {
    display: block; 
    text-decoration: none; 
    margin-top: 5px; 
}

/* リンクのホバー時のスタイル */
.news-list .item a:hover {
    text-decoration: underline; 
    color:  #160a57; 
}

.member-name strong {
    font-size: 2.4rem;
    color: #160a57;
}

/* フッター */
footer {
    background-color: var(--footer-color); 
    padding: 5rem 0;
}

footer h4 {
    border-bottom: 1px solid var(--border-color);
}

.table {
    margin: 4rem 0;
}

.table th {
    width: 250px;
}

/* コピーライト */
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--top-button-color); 
    color: var(--text-white); 
}

.copyright a {
    color: var(--text-white); 
    text-decoration: none;
    display: inline;
}

/* ページトップへ戻るボタン */
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}

#pagetop a {
    display: block;
    background-color: var(--top-button-color); 
    color: var(--text-white); 
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}

#pagetop a:hover {
    background-color: var(--link-color);
}

/* 幅768px以下の表示 */
@media screen and (max-width: 768px) {
    /* メイン画像 */
    .mainimg-text h1 {
    font-size: 1.6rem;
  }
    .mainimg-text p {
    font-size: 0.6rem;
  }

    /* ヘッダー */
    .header-box {
        display: none;
    }
   }

    .table td {
        display: block;
    }

