/*--------------------------------------------------------------
* 基本?共通設定
*-------------------------------------------------------------*/

/* WebFontのダウンロード */
@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

html {
  font-size: 62.5%; /*  1em = 10pxにする  */
}

h1,
h2,
h3,
h4,
p,
a,
ul,
li {
  color: #898989;
  font-family: "Noto Sans Japanese", sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
}

h1,
h2,
h3 {
  color: #4d89b4;
  font-weight: 500;
  line-height: 140%;
  text-align: center;
}

h1 {
  font-size: 1.8rem;
}

h1.en {
  font-size: 2.6rem; /* 英語見出し */
}

h2 {
  font-size: 2.4rem;
}

/*.uk-gridのmaegin-leftをキャンセル
　左端が切れてしまう*/
.uk-grid {
  margin-left: 0px;
}

/*--------------------------------------------------------------
* 全ページ共通のコンテンツ
*-------------------------------------------------------------*/

/**
* Header
*/
.header {
  position: fixed;
  left: 0;
  height: 50px;
  background-color: #ffffff;
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5);
  z-index: 4000;
}

.header .header-logo {
  margin: auto;
  padding-left: 20px;
}

.header-logo img {
}

.header .side-btn {
  height: 50px;
  text-align: right;
}

.header .side-btn img {
  height: 100%;
}

.header_image {
  display: block;
  text-align: left;
  padding: 8px;
}

.header_image img {
  width: 400px;
}

/**
* Container
*/
.container {
  max-width: 600px;
  z-index: 2800;
}

.breadcrumb {
  height: 30px;
  vertical-align: middle;
}

.breadcrumb p {
  line-height: 30px;
}

.breadcrumb a {
  color: #4d89b4;
}

.top {
  /*    border-bottom: 5px solid #9E5D60;
*/
}

.top-img.top-major {
  margin-bottom: 20px;
  width: 100%;
}

.top .top-title {
  width: 80%;
  margin: 0 auto;
}

.top-title p {
  margin-top: 0;
}

.top h1 {
  margin-bottom: 10px;
}

/**
* Main
*/
.main {
  padding: 0 25px 0;
}

.content {
  padding-bottom: 25px;
  text-align: center;
  background-image: linear-gradient(
    to right,
    #4d89b4,
    #4d89b4 4px,
    transparent 4px,
    transparent 4px
  );
  background-size: 8px 4px;
  background-position: bottom;
  background-repeat: repeat-x;
}

.content:last-child {
  background-image: none;
}

.content-title {
  margin: 25px 0 30px;
}

.content-discription {
  text-align: left;
  margin: 15px 0 20px;
}

.content-image {
  margin-bottom: 20px;
}

/**
* Footer
*/
#footer {
  margin-top: 40px;
  border-top: 5px solid #4d89b4;
  padding: 5px 0 0;
  text-align: center;
  background-color: #4d89b4;
}

#footer p {
  color: #ffffff;
  text-align: left;
  font-size: 1rem;
  margin-bottom: 0px;
  margin-left: 10px;
}

#footer h3 {
  color: #ffffff;
  text-align: left;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 10px;
}

/**
* Side-Menu
*/
#side-menu {
  position: fixed;
  background-color: #212e34;
  top: 50px;
  bottom: 0px;
  width: 700px;
  z-index: 3000;
  right: 0px;
  overflow: auto;
}

.side-menu-list {
  border-bottom: 1px solid #eee;
  display: table;
  width: 85%;
  height: 6rem;
  margin: 10px auto;
}

.list-img img {
  height: 5rem;
  margin-right: 0.5rem;
}

.list-img,
.list-text {
  display: table-cell;
  vertical-align: middle;
}

.list-text .list-text-title {
  font-size: 2rem;
  margin-bottom: 0;
}

.list-text .list-text-subtitle {
  font-size: 1rem;
  margin: 0;
}

.side-menu-list .list-text p {
  color: #ffffff;
}

/**
* Util
*/
.link {
  position: relative;
}

.rounded-link {
  display: inline-block;
  box-shadow: 0 0 3px #000000;
  border-radius: 20px;
  padding: 5px 0;
  width: 80%;
  background: #4d89b4;
  color: #ffffff;
}

.arrow-button {
  position: absolute;
  width: 25px;
  right: 13%;
  top: 8%;
}

/**
* パンくず
*/

.main .pan {
  margin-top: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  background: #f9f9ee;
}

/*--------------------------------------------------------------
* 各ページのコンテンツ
*-------------------------------------------------------------*/

/**
* トップページ
* index.html
*/
.menu {
  background-image: url(/_themes/wakayama-u/sys/sysnavi/en_img/top/index_background.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.menu h2 {
  font-size: 2.4rem;
  font-weight: 300;
  color: #ffffff;
}

.menu-btns {
  width: 90%;
  margin: 0 auto;
}

.menu-btns .menu-btn {
  padding: 0;
  text-align: center;
}

.menu-btn img {
  width: 70%;
  padding-top: 0;
}

.menu-btn p {
  color: #ffffff;
  margin-top: 10px;
}

.top .index-img {
  margin-bottom: 0;
}

.menu .index-title {
  font-size: 3rem;
  margin-top: 0;
}

.menu .index-description {
  font-size: 2rem;
  text-align: center;
  line-height: 2.5rem;
  color: #ffffff;
}

.news {
  text-align: center;
}

.news-lists {
  width: 100%;
  padding-left: 0;
  display: inline-block;
}

.news-lists li {
  border-top: solid 1px #4d89b4;
}

.news-lists li:last-child {
  border-bottom: solid 1px #4d89b4;
}

.news-lists li p {
  font-size: 1.2rem;
  width: 30%;
  text-align: center;
  border-radius: 0 0 0 5px;
  background: #4d89b4;
  margin-left: auto;
  color: #ffffff;
}

.news-content {
  margin: -20px 5px 15px 5px;
  width: 100%;
}

.news-content img {
  margin-right: 10px;
  border: 1px solid #9e5d60;
  width: 30%;
  box-shadow: 3px 3px 0px 0px #9d5d60;
}

.news-content a {
  border-bottom: 1px solid #4d89b4;
}

.news-content a:hover {
  text-decoration: none;
}

.index-content {
  text-align: center;
  padding: 30px 0;
  margin-top: 15px;
}

.index-content > h2 {
  display: inline-block;
  /*    border-bottom: 2px solid #9E5D60; */
}

.index-content > .content {
  background: none;
}

.material-request {
  margin-top: 30px;
  height: 120px;
  text-align: center;
  background-image: url(/_themes/wakayama-u/sys/sysnavi/img/index/index_background.png);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
}

.material-request > h2 {
  /*    border-bottom: 2px solid #FFFFFF;
*/
}

.menu > h2 {
  /*    border-bottom: 2px solid #FFFFFF; */
}

.material-request h2 {
  color: #ffffff;
}

/* 更新履歴*/
.change {
  margin: 0 auto;
}

/**
 * システム工学部について
 * about.html
 */

.name {
  font-weight: 600;
  font-size: 2.5rem;
  text-align: right;
}

/**
 * キャンパスライフ
 * campus_life.html
 */

.content-campuslife {
  padding: 0 25px 25px 25px;
}

.place {
  padding-bottom: 20px;
  background-image: linear-gradient(
    to right,
    #4d89b4,
    #4d89b4 4px,
    transparent 4px,
    transparent 4px
  );
  background-size: 8px 4px;
  background-position: bottom;
  background-repeat: repeat-x;
}

.map-image {
  margin-bottom: 30px;
  box-shadow: 0px 0px 6px 3px #e0e0e0;
}

.place-name {
  color: #4d89b4;
  font-size: 2rem;
  text-align: left;
}

.place-number {
  min-width: 25px;
}

.place-discription {
  text-align: left;
}

.place-discription a {
  border-bottom: 1px solid #4d89b4;
}

.place-discription a:hover {
  text-decoration: none;
}

.main .content div.link {
  margin-top: 1ex;
  margin-bottom: 1ex;
}

/**
 * 就職情報
 * employment.html
 */

.content-percentage {
  margin: 40px 0;
}

.percentage {
  margin: 0px auto;
  padding: 20px 10px;
  width: 70%;
  border: 4px #4d89b4 solid;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 3px 0 #4d89b4;
  color: #4d89b4;
}

.percentage-left {
  font-size: 1.6rem;
  color: #4d89b4;
}

.percentage-right {
  font-weight: 700;
  font-size: 5rem;
  color: #4d89b4;
}

/**
 * Q&A
 * question.html
 */

.question-top {
  margin-bottom: 10;
  padding-bottom: 10px;
  text-align: center;
}

.big-rounded-link {
  display: inline-block;
  box-shadow: 0 0 3px #000000;
  border-radius: 40px;
  padding: 20px 0;
  width: 100%;
  background: #9e5d60;
  color: #ffffff;
}

.question-content {
  margin: 40px 0;
  padding: 10px 20px;
  border-radius: 20px;
  background: #f0e1e3;
}

.content-discription-question {
  text-align: left;
  margin: 15px 0 20px;
  font-weight: 600;
  font-size: 1.5rem;
}

.content-discription-answer {
  text-align: left;
  margin: 15px 0 20px;
}

/**
 * 問い合わせフォーム
 * inquiry.html
 */
form.inquiry-form {
  padding: 15px 15px;
  background-color: #f0e0e3;
  border-radius: 10px;
}

form .inquiry-title {
  font-size: 2rem;
  color: #9e5d60;
  text-align: left;
}

form .inquiry-textarea {
  border: 1px solid #9e5d60;
  width: 100%;
  margin-bottom: 15px;
}

.uk-alert {
  margin-top: 20px;
  display: none;
}

/*-----------------------
 * フッターナビゲーション
 *---------------------*/

.footer-nav {
  position: fixed;
  bottom: 0;
  left: 5%;
}

.footer-nav .nav-icon-list {
  margin-left: 0;
}

.footer-nav.static {
  position: absolute;
  left: 5%;
  bottom: 0;
}

.nav-icon-list .icon-img {
  position: relative;
  padding-left: 0;
}

.icon-img img {
  position: absolute;
  bottom: 0;
}

.footer-with-nav {
  margin-top: 0;
}
.main.with-footer-nav {
  position: relative;
  padding-bottom: 95px;
}

/*-----------------------
 * バッジ
 *---------------------*/
div#cpl {
  position: relative;
}
div#cpl p#update {
  position: absolute;
  top: -1.5ex;
  left: 1em;
  width: 40px;
  height: 40px;
  line-height: 40px;
}

div.small#cpl p#update {
  position: absolute;
  top: -1ex;
  left: 2em;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 70%;
}

p#update {
  display: inline-block;
  border-radius: 20px;
  border-style: solid;
  border-width: thin;
  border-color: #fff;
  color: #fff;
  background: #f00;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

/*-----------------------
 * 学生生活日誌
 *---------------------*/
.diary {
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: 0.5px dashed #898989;
}

.diary-title {
  border-bottom: 1px solid #4d89b4;
}

.diary-title h3 {
  color: #4d89b4;
  font-weight: 300;
  font-size: 1.8rem;
  text-align: left;
  margin-block-start: 0.5em;
  margin-block-end: 0.2em;
}

.diary-title .date {
  margin-top: 5px;
  margin-bottom: 0px;
  text-align: right;
}

.diary img {
  margin-top: 15px;
  width: 100%;
}

.diary .body p {
  text-align: left;
  margin: 10px 0 0 0;
}

/*-----------------------
 * ハンバーガーメニュー
 *---------------------*/

.ham a {
  text-decoration: underline;
  font-size: 14px;
  color: #ffffff;
}

.ham p {
  color: #fff;
  font-size: 14px;
  text-indent: 1em;
  margin-bottom: 5px;
}

.ham p.end {
  color: #fff;
  text-indent: 1em;
  margin-bottom: 10px;
}

.ham p img {
  margin-right: 10px;
  vertical-align: middle;
  width: 30px;
}

.ham li {
  display: inline-block;
  list-style: none;
  margin-top: 10px;
  margin-bottom: 10px;
}

.ham hr {
  border: 0;
  width: 90%;
  margin: 0px;
  border-top: dotted;
  color: #fff;
  text-align: left;
}

#ham-menu {
  background-color: #353535; /*メニュー背景色*/
  box-sizing: border-box;
  height: 100%;
  position: fixed;
  right: -300px; /*メニュー横幅 width と合わせる*/
  top: 0;
  transition: transform 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
  width: 300px; /*メニュー横幅*/
  z-index: 1000;
}

#menu-background {
  background-color: #353535; /*黒背景*/
  display: block;
  height: 100%;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: all 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
  width: 100%;
  z-index: -1;
}

#menu-icon {
  background-color: #353535; /*アイコン部分背景色*/
  border-radius: 0 0 0 10px; /*左下角丸*/
  color: #fff; /*アイコン（フォント）色*/
  cursor: pointer;
  display: block;
  font-size: 50px; /*アイコン（フォント）サイズ*/
  height: 50px; /*アイコン縦高さ*/
  line-height: 50px; /*縦位置中央化*/
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
  width: 50px; /*アイコン横幅*/
  transition: all 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
  z-index: 1000;
}

#menu-cb {
  display: none; /*チェックボックス本体は消しておく*/
}

#menu-cb:checked ~ #ham-menu,
#menu-cb:checked ~ #menu-icon {
  transform: translate(-300px); /*メニュー本体横幅 width と合わせる*/
}

#menu-cb:checked ~ #menu-background {
  opacity: 0.5;
  z-index: 999;
}

/*---------------
 *戻るボタン
 *-------------*/

#pageTop p {
  margin-bottom: 0;
  position: fixed;
  right: 20px;
  bottom: 20px;
}

@media screen and (min-width: 899px) {
  #pageTop p {
    right: auto !important;
    left: auto;
    margin-left: 605px;
  }
}
