@charset "utf-8";

* {
    box-sizing: border-box;
}

/* 基本サイズになってるので、変更するときはレイアウト崩れる→検討必要 */
html  {
    font-feature-settings: "palt";
    height: 100%;
    width: 100%;
    font-size: 62.5%;
    color: #666666;
    scroll-padding-top: 110px;/*ページ内リンクの相対基準位置！重要！！！！！！！！消さない！！！！！！！！*/
}

body {
    font-family: 'NotoSansJP',sans-serif;
    font-weight: 400;
    font-style: normal;
    min-height: 100%;
    font-size: clamp(1rem,1.25vw,2rem);
    line-height:1.5;
}
  

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

.wrapper {
    position: relative;
    height: auto !important;
    height: 100%;
    min-height: 100vh;
    padding: 0 1rem 0 1rem;
    padding-bottom: 30px;
}


hr {/* ヘッダー下の線 */
    display: none;
    text-align: center;
    margin: auto;
    max-width: 1200px;
}

h1 {/*各年代*/
    font-weight:bold ;
    font-size:clamp(1.6rem,2vw,2rem);
    padding: 0 1rem;
    border-bottom: 1px solid #cccccc;
}

.licard_text li {/*論題タイトル*/
    font-size: clamp(1.2rem,1.5vw,1.6rem);
    margin-bottom: 8px;
    text-align: justify;
    text-justify: inter-ideograph; /* IE用 */
    list-style-type: circle;
    padding-left: 1.5em;
    text-indent: -1.5em;
    -webkit-text-size-adjust: none;
   
}


.pagelink p {
    right: 0;
    bottom: 0;
}

/* ---------------------------------------------------ディプロマ全体 */
.container {/*全体のくくり*/
    display: flex;
    padding: 60px 20px 0;
    flex-direction: column-reverse;
}


/*---------------------------ページ内リンク*/
.era {/*下部年代（個別の）*/
    display: block;
    row-gap: 10px;
    flex-direction: column;
    margin-bottom: 80px;    
}


.licard { /*年代ごとのボックス*/
    display: grid;
    grid-template-columns: auto;
    padding: 1rem;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.licard_text {/*論題テキストの幅*/
    width: 100%;
    padding-left: 10px;
}


/* ----上部リンク年代一覧 */
.pagelink{
    font-size: clamp(1.6rem,2vw,2rem);
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(50px,1fr));
    grid-auto-rows: 24px;
    grid-gap:10px;
}

.pagelink li{
    font-weight: bold;
    margin: auto;
}

.pagelink li a{
    color: #cccccc;
    position: relative;
    display: inline-block;
}

.pagelink li a:after {/*ホバー下線*/
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    background-color: #666666;
    width: 0;
    height: 1px;
    transition: .4s;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

/* ホバー */
.pagelink li a:hover::after {
    width: 100%;
}

.pagelink li a:hover {
    color: #666666;
}






.diploma_logo::after {/*卒論ロゴ*/
    content: "卒業論文";
    color: #ffffff;
    background:#666666;
    font-size: 10px;
    padding: 0.3rem;
    border-radius: 5px;
    text-align: center;
    display: block;
    margin-bottom: 7px;
    width: 50px;
}

.diploma_logologo::after {/*卒制ロゴ*/
    content: "卒業制作";
    color: #ffffff;
    background:#666666;
    font-size: 10px;
    padding: 0.3rem;
    border-radius: 5px;
    text-align: center;
    display: block;
    margin: 30px 0 7px;
    width: 50px;
}

.diploma_logo_syushi::after {/*修論ロゴ*/
    content: "修士論文";
    color: #ffffff;
    background:#666666;
    font-size: 10px;
    padding: 0.3rem;
    border-radius: 5px;
    text-align: center;
    display: block;
    margin: 30px 0 7px;
    width: 50px;
}

.diploma_logologo_syushi::after {/*修制ロゴ*/
    content: "修士制作";
    color: #ffffff;
    background:#666666;
    font-size: 10px;
    padding: 0.3rem;
    border-radius: 5px;
    text-align: center;
    display: block;
    margin: 30px 0 7px;
    width: 50px;
}




/* ==============
.....汎用クラス
=============== */

.inner {
    max-width: 940px;
    width: 96%;
    margin-right: auto;
    margin-left: auto;
}

.flex {
    display: flex;
}

.is-align-flexend {
    align-items: flex-end;
}

/* ---bodyはこのフォントで　headerはヒラギノ角ゴ */
.notosans {
    font-family: 'Noto Sans JP', sans-serif;
}



/* ==============
.....ヘッダー 
================*/
.header {
    top: 0;
    height: 80px;
    display: flex;
    padding: 1.5rem 1.5rem;
    width: 100%;
    align-items: center;
    background-color: #ffffff;
    position: fixed;
    z-index: 9999;
}

#logo {
    align-items: flex-start;
    margin-right: auto;
    cursor: pointer;
}

#logo img {
    max-width:250px;
    width: 100%; 
    height: auto;
}

#logo span {
    display: none;
}

.jwu_logo {
    list-style: none;
}

.jwu_logo img{
    text-align: center;
    max-width: 20px;
    width: auto;
    height: auto;
}

.jwu_logo2 {
    list-style: none;
}

.jwu_logo2 img{
    text-align: center;
    max-width: 20px;
    width: auto;
    height: auto;
}


.gnav ul {
    display: flex;
}


.gnav-flex li {
    font-size: clamp(1.4rem,1.5vw,2rem); 
    font-weight: bold;
    margin-left: clamp(1.4rem,1.5vw,2rem);
}


/* ==============
.....フッター 
================*/

footer{
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0 1rem 0 1rem;
    margin-top: auto;
    font-size: clamp(1rem,1.25vw,1.2rem);
    text-align: center;
    line-height:30px;
    width: 100%;
    height: 30px;
    background-color: #ffffff;
    z-index: 1;
}


/* ======================
スクロールボタン（↑）
========================= */
.back-to-top {
    display: none;
    position: fixed;
    right: 5%;
    bottom: 3%;
    color: #fff;
    padding: 2rem;
    border-radius: 50%;
    display: inline-block;
    text-decoration: none;
    opacity: 0.8;
    z-index: 3;
  }
  
  .back-to-top::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    text-align: end;
    background-color: #cccccc;
    border-radius: 50%;
    z-index: -1;
  }
    



/* ======================
ヘッダーナビのホバーアニメーション（にゅっと線）
========================= */


.gnav li a {
    position: relative;
    display: inline-block;
}

.gnav li a::after {/* 下線 */
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    background-color: #cccccc;
    width: 0;
    height: 1px;
    transition: .4s;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
    

/* ホバー */
.gnav li a:hover::after {
    width: 100%;
}

.gnav li a:hover {
    color: #cccccc;
}



/* =============
スマホ・タブレット記述01
===============*/
/*スクロールするページには必ずつける！*/
@media screen and (max-width: 428px){ /*428px以下*/
    #logo img {
        max-width:180px;
        width: 100%; 
        height: auto;
    }
}
@media screen and (max-width: 366px){ /*366px以下*/
    footer {
        height: 30px;
        line-height:15px;
    }
}

@media screen and (min-width:768px) {
    .jwu_logo2 {
        display: none;    
    }
}


/* =============
スマホ・タブレット記述02
===============*/
@media screen and (max-width:767px) {
    .gnav-flex {
        display: none;
    }

    .jwu_logo {
        display: none;
    }


/* ==============
>>スマホナビ
================ */

/* >>ハンバーガーメニュー*/
/* 背景ボックス */
.gnavbtn {
    position: fixed;
    z-index: 1;
    top: 20.5px;
    right: 26px;
    width: 40px;
    height: 40px;
    padding-top: 7px;
    border-radius: 7px;
    background-color: #cccccc;
    cursor: pointer;
}

/* ハンバーガー（三本線 */
.gnavbtn .sp {
    display: block;
    position: relative;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    margin-top: 5px;
    background: white;  
    transition: 0.6s;  
}

/* >>ハンバーガー（バツ印 */
.close .sp{
    left: 0px;        
}   
.close .sp:nth-of-type(1){
    transform: rotate(45deg);
    width: 60%;
    top: 7px;
    transition: 0.6s;
}
.close .sp:nth-of-type(2){
    opacity: 0;
}
.close .sp:nth-of-type(3){
    transform: rotate(-45deg);
    width: 60%;
    top: -7px;
    transition: 0.6s;
}


/* >>ドロワーメニュー //ハンバーガーメニューの出てきて止まる位置*/
.gnav ul {
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 80px;
    position: fixed;
    top: 0;
    right: 0;
    background:rgba(255,255,255,0.9);
    right: -767px;
    transition: 0.7s;
    overflow:hidden;
    
}

/* ハンバーがメニューを閉じる際の動きに必要クラス */
.show .gnav ul {
    right: 0;
    transition: 0.7s;
}

.gnav li {
    width: 100%;
    margin-bottom: 30px;
    margin-left: 0;
    text-align: center;
}



}