@charset "UTF-8";
/*
Theme Name: 愛媛大学工学部
Template:twentyseventeen
Author: 愛媛大学工学部
Theme URI: http://www.eng.ehime-u.ac.jp/
Description: 愛媛大学工学部2018版テーマ
*/
/* @import url('../twentyseventeen/style.css'); */
* {
  padding: 0;
  margin: 0;
}

img {
  display: block;
}

a img {
  border: none;
}
ul {
  list-style: none;
}
/* RESET */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}
/*
ol,
ul {
  list-style: none;
}
*/
ol {
	margin-left: 50px;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

/**
 * 6.1 Links
 */
a {
  color: #333;
  text-decoration: none;
}
a:hover, a:active {
  outline: 0;
}
a:hover, a:focus {
  color: #194373;/*#eb6100*/
}

/**
 * 5.0 Forms
 */
button,
input,
select,
textarea {
  background-color: #f7f7f7;
  border-radius: 0;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0;
  max-width: 100%;
  vertical-align: baseline;
}

button,
input {
  line-height: normal;
}

input,
textarea {
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  /* Removing the inner shadow on iOS inputs */
  border: 1px solid #eaeaea;
  border: 1px solid rgba(51, 51, 51, 0.1);
  color: #707070;
  color: rgba(51, 51, 51, 0.7);
}

input:focus,
textarea:focus {
  background-color: #fff;
  border: 1px solid #c1c1c1;
  border: 1px solid rgba(51, 51, 51, 0.3);
  color: #333;
}

button[disabled],
input[disabled],
select[disabled],
textarea[disabled] {
  cursor: default;
  opacity: .5;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  background-color: #333;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.7917em 1.5em;
  text-transform: uppercase;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
  background-color: #707070;
  background-color: rgba(51, 51, 51, 0.7);
  outline: 0;
}

input[type="search"] {
  -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  padding: 0.375em;
  width: 100%;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  outline: 0;
}

.post-password-form {
  position: relative;
}

.post-password-form label {
  color: #707070;
  color: rgba(51, 51, 51, 0.7);
  display: block;
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.post-password-form input[type="submit"] {
  padding: 0.7917em;
  position: absolute;
  right: 0;
  bottom: 0;
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}

.search-form input[type="submit"],
.widget .search-form input[type="submit"] {
  padding: 0;
}

/* STYLE */
body {
  font-size: 14px;
  color: #333;
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  background: #fff;
  line-height: 1.6;
}
body:before {
  content: none;
}
body .row {
  overflow: hidden;
  *zoom: 1;
}
body .row .fleft {
  float: left;
}
body .row .fright {
  float: right;
}
body .fbox {
  display: flex;
  -webkit-flex-wrap: nowrap;
  /*  Safari */
  flex-wrap: nowrap;
  -webkit-justify-content: space-between;
  /* Safari */
  justify-content: space-between;
}
body .fbox.lf {
  -webkit-flex-wrap: wrap;
  /*  Safari */
  flex-wrap: wrap;
}
body .sp {
  display: none;
}
body .pc {
  display: block;
}
body a {
  color: #333;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
  text-decoration: none;
}
body a img {
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  opacity: 1;
}
body a:hover {
  color: #194373;/*#eb6100*/
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
  text-decoration: underline;
}
body a:hover img {
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  opacity: 0.9;
}
body strong {
  font-weight: 700;
}
body sup {
  font-size: 75.5%;
  vertical-align: top;
  position: relative;
  top: -0.1em;
}
body sub {
  font-size: 75.5%;
  vertical-align: bottom;
  position: relative;
  top: 0.1em;
}
body table {
  border-collapse: collapse;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}
body table th {
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
body table td {
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
body .site {
  max-width: none;
  width: 100%;
  float: none;
}
body .site .site-header {
  margin: 0;
  padding: 0;
  background: #fefefe;/*#fefefe*/
}
body .site .site-header .site-branding {
  width: 1080px;
  height: 80px;
  margin: 0 auto;
  overflow: visible;
}
body .site .site-header .site-branding.row h1.site-title.fleft {
  width: 250px;
  height: 80px;
  padding-top: 20px;
}
body .site .site-header .site-branding.row h1.site-title.fleft a {
  width: 100%;
  height: 40px;
  display: block;
  background: url(https://www.eng.ehime-u.ac.jp/rikougaku/images/header/logo.png) no-repeat;
  background-size: contain;
  text-indent: -9999px;
}
body .site .site-header .site-branding.row .fright {
  width: 680px;
}
body .site .site-header .site-branding.row .fright .navigation-top {
  width: 100%;
  height: 80px;
  margin: 0;
  background: #fff;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation {
  width: 680px;
  height: 80px;
  margin: 0 auto;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu {
  border: none;
  position: relative;
  display: flex;
  -webkit-flex-wrap: nowrap;
  /*  Safari */
  flex-wrap: nowrap;
  -webkit-justify-content: space-between;
  /* Safari */
  justify-content: space-between;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li {
  border: none;
  display: inline-block;
  top: 0;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li a {
  display: block;
  height: 80px;
  padding-top: 30px;
  text-align: center;
  font-weight: 700;
  background: url(https://www.eng.ehime-u.ac.jp/rikougaku/images/header/gnavi-line.png) no-repeat center bottom;
  background-size: 0 4px;
  -webkit-transition: background-size 0.2s;
  transition: background-size 0.2s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li a:hover {
  color: #555;
  text-decoration: none;
  background: url(https://www.eng.ehime-u.ac.jp/rikougaku/images/header/gnavi-line.png) no-repeat center bottom;
  background-size: 80% 4px;
  -webkit-transition: background-size 0.2s;
  transition: background-size 0.2s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child {
  width: 200px;/*100*/
  position: relative;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child a {
  width: 200px;/*100*/
  padding:5px 0;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child a:hover {
  cursor: default;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child a svg.icon.icon-angle-down {
  display: none;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child.current-menu-parent a {
  background: url(https://www.eng.ehime-u.ac.jp/rikougaku/images/header/gnavi-line.png) no-repeat center bottom;
  background-size: 5em 4px;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child button.dropdown-toggle {
  display: none;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child ul.sub-menu {
  display: block;
  position: absolute;
  left: 0;
  top: 80px; /* 80 */
  width: 150px; /* 150 */
  height: 0;
  -webkit-transition: height 0.2s;
  transition: height 0.2s;
  z-index: 10; /* 10 */
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child ul.sub-menu li {
  display: block;
  width: 150px;/*150*/
  height: 0;
  -webkit-transition: height 0.2s;
  transition: height 0.2s;
  position: absolute;
  left: 0;
  overflow: hidden;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child ul.sub-menu li a {
  display: block;
  width: 100%;
  height: 0;
  -webkit-transition: height 0.2s; /* 0.2s */
  transition: height 0.2s; /* 0.2s */
  padding-top: 0;
  text-indent: -300px; /* -300 */
  line-height: 40px; /* 40 */
  font-weight: 400; /* 400 */
  background-image: none;
  background-color: rgba(255, 255, 255, 0.7);
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child ul.sub-menu li:first-child {
  top: 0;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child ul.sub-menu li:nth-child(2) {
  top: 0;
  -webkit-transition: top 0.2s;
  transition: top 0.2s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child ul.sub-menu li:nth-child(3) {
  top: 0;
  -webkit-transition: top 0.2s;
  transition: top 0.2s;
}
/* -----------------------------↓追加----------------------------- */
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child ul.sub-menu li:nth-child(4) {
  top: 0;
  -webkit-transition: top 0.2s;
  transition: top 0.2s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child ul.sub-menu li:nth-child(5) {
  top: 0;
  -webkit-transition: top 0.2s;
  transition: top 0.2s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child ul.sub-menu li:nth-child(6) {
  top: 0;
  -webkit-transition: top 0.2s;
  transition: top 0.2s;
}
/* ---------------------------------------------------------------- */
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child ul.sub-menu li:last-child {
  top: 0;
  -webkit-transition: top 0.2s;
  transition: top 0.2s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child ul.sub-menu li:last-child a {
  color: #333;
  background: none;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child:hover ul.sub-menu {
  height: 240px; /* 160px */
  -webkit-transition: height 0.5s;
  transition: height 0.5s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child:hover ul.sub-menu li {
  height: 40px;
  -webkit-transition: height 0.5s;
  transition: height 0.5s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child:hover ul.sub-menu li a {
  text-indent: 0;
  height: 40px;
  -webkit-transition: height 0.5s;
  transition: height 0.5s;
  background-image: none;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child:hover ul.sub-menu li a:hover {
  cursor: pointer;
  background-color: rgba(189, 218, 250, 0.7);/*rgba(255, 200, 120, 0.7)*/
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child:hover ul.sub-menu li:nth-child(2) {
  top: 40px;
  -webkit-transition: top 0.5s;
  transition: top 0.5s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child:hover ul.sub-menu li:nth-child(3) {
  top: 80px;
  -webkit-transition: top 0.5s;
  transition: top 0.5s;
}
/* -----------------------------↓追加----------------------------- */
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child:hover ul.sub-menu li:nth-child(4) {
  top: 120px;
  -webkit-transition: top 0.5s;
  transition: top 0.5s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child:hover ul.sub-menu li:nth-child(5) {
  top: 160px;
  -webkit-transition: top 0.5s;
  transition: top 0.5s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child:hover ul.sub-menu li:nth-child(5) {
  top: 200px;
  -webkit-transition: top 0.5s;
  transition: top 0.5s;
}
/* ---------------------------------------------------------------- */
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child:hover ul.sub-menu li:last-child {
  top: 240px;/* 120 */
  -webkit-transition: top 0.5s;
  transition: top 0.5s;
}
/*
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child {
  width: 110px;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child a {
  width: 120px;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:first-child.current-menu-item a {
  background: url(https://www.eng.ehime-u.ac.jp/rikougaku/images/header/gnavi-line.png) no-repeat center bottom;
  background-size: 5em 4px;
}
*/
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) {
  width: 100px;/*メニューの幅*/
  position: relative;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) a {
  width: 100px;/*100*/
  padding:5px 0;  
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) a:hover {
  cursor: default;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) a svg.icon.icon-angle-down {
  display: none;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2).current-menu-parent a {
  background: url(https://www.eng.ehime-u.ac.jp/rikougaku/images/header/gnavi-line.png) no-repeat center bottom;
  background-size: 5em 4px;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) button.dropdown-toggle {
  display: none;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) ul.sub-menu {
  display: block;
  position: absolute;
  left: 0;
  top: 80px; /* 80 */
  width: 150px; /* 150 */
  height: 0;
  -webkit-transition: height 0.2s;
  transition: height 0.2s;
  z-index: 10; /* 10 */
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) ul.sub-menu li {
  display: block;
  width: 520px;/*150 サブメニュー横幅*/
  height: 0;
  -webkit-transition: height 0.2s;
  transition: height 0.2s;
  position: absolute;
  left: 0;
  overflow: hidden;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) ul.sub-menu li a {
  display: block;
  width: 100%;
  height: 0;
  -webkit-transition: height 0.2s; /* 0.2s */
  transition: height 0.2s; /* 0.2s */
  padding-top: 0;
  text-indent: -300px; /* -300 */
  line-height: 40px; /* 40 */
  font-weight: 400; /* 400 */
  background-image: none;
  background-color: rgba(255, 255, 255, 0.7);
  text-align:left;/*サブメニューの文字位置*/
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) ul.sub-menu li:first-child {
  top: 0;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) ul.sub-menu li:nth-child(2) {
  top: 0;
  -webkit-transition: top 0.2s;
  transition: top 0.2s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) ul.sub-menu li:nth-child(3) {
  top: 0;
  -webkit-transition: top 0.2s;
  transition: top 0.2s;
}
/* -----------------------------↓追加----------------------------- */
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) ul.sub-menu li:nth-child(4) {
  top: 0;
  -webkit-transition: top 0.2s;
  transition: top 0.2s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) ul.sub-menu li:nth-child(5) {
  top: 0;
  -webkit-transition: top 0.2s;
  transition: top 0.2s;
  /*font-size:9.5px;*/
}
/* ---------------------------------------------------------------- */
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) ul.sub-menu li:last-child {
  top: 0;
  -webkit-transition: top 0.2s;
  transition: top 0.2s;
  /*font-size:9px;*/
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2) ul.sub-menu li:last-child a {
  color: #333;
  background: none;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2):hover ul.sub-menu {
  height: 200px; /* 160px */
  -webkit-transition: height 0.5s;
  transition: height 0.5s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2):hover ul.sub-menu li {
  height: 40px;
  -webkit-transition: height 0.5s;
  transition: height 0.5s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2):hover ul.sub-menu li a {
  text-indent: 0;
  height: 40px;
  -webkit-transition: height 0.5s;
  transition: height 0.5s;
  background-image: none;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2):hover ul.sub-menu li a:hover {
  cursor: pointer;
  background-color: rgba(189, 218, 250, 0.7);/*rgba(255, 200, 120, 0.7)*/
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2):hover ul.sub-menu li:nth-child(2) {
  top: 40px;
  -webkit-transition: top 0.5s;
  transition: top 0.5s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2):hover ul.sub-menu li:nth-child(3) {
  top: 80px;
  -webkit-transition: top 0.5s;
  transition: top 0.5s;
}
/* -----------------------------↓追加----------------------------- */
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2):hover ul.sub-menu li:nth-child(4) {
  top: 120px;
  -webkit-transition: top 0.5s;
  transition: top 0.5s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2):hover ul.sub-menu li:nth-child(5) {
  top: 160px;
  -webkit-transition: top 0.5s;
  transition: top 0.5s;
}
/* ---------------------------------------------------------------- */
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(2):hover ul.sub-menu li:last-child {
  top: 200px;/* 120 */
  -webkit-transition: top 0.5s;
  transition: top 0.5s;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(3) {
  left: 210px;
  width: 90px;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(3) a {
  width: 100px;
  padding:18px 0;/*ヘッダーのタイトルが2行の場合*/
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(3).current-menu-item a {
  background: url(https://www.eng.ehime-u.ac.jp/rikougaku/images/header/gnavi-line.png) no-repeat center bottom;
  background-size: 5em 4px;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(4) {
  width: 110px;/*110*/
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(4) a {
  width: 110px;
  position:relative;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  text-align:center;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(4).current-menu-item a {
  background: url(https://www.eng.ehime-u.ac.jp/rikougaku/images/header/gnavi-line.png) no-repeat center bottom;
  background-size: 5em 4px;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(5) {
  width: 90px;/*120*/
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:nth-child(5) a {
  width: 90px;/*120*/
  position:relative;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  text-align:center;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:last-child {
  width: 140px;
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:last-child a {
  width: 140px;
  color: #fff;
  background-color: #215389;/*#f8b500*/
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
  position:relative;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
}
body .site .site-header .site-branding.row .fright .navigation-top .main-navigation ul.menu li:last-child a:hover {
  background-color: #194373;/*#fac32e;*/
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
  background-image: none;
}
body .site .site-content {
  overflow: hidden;
  *zoom: 1;
  width: 100%;
  float: none;
}
body .site .site-content .wrap-breadcrumb {
  width: 100%;
  background: #bddafa;/*#fff7e3*/
}
body .site .site-content .wrap-breadcrumb .breadcrumb {
  width: 1080px;
  margin: 0 auto;
  padding: 0.5em 0;
}
body .site .site-content .wrap-breadcrumb .breadcrumb a img {
  display: inline;
  vertical-align: top;
}
body .site .site-content .wrap {
  width: 100%;
}
body .site .site-content .wrap .content-area .site-main .hentry {
  box-shadow: none;
  width: 100%;
  background: #fff;
}
body .site .site-content .wrap .content-area .site-main .hentry .entry-header {
  padding: 0;
}
body .site .site-content .wrap .content-area .site-main .hentry .entry-content {
  padding: 0;
}
body .site .site-content .wrap .content-area .site-main .hentry p {
  margin: 0 0 1.5em 0;
}
body .site .site-footer {
  float: none;
  width: 100%;
  margin: 0;
  box-shadow: none;
  background: #fff;
}
body .site .site-footer .wrap-scroll-top.row {
  width: 1080px;
  margin: 0 auto;
  overflow: visible;
  position: relative;
}
body .site .site-footer .wrap-scroll-top.row a#scroll-top.fright {
  cursor: pointer;
  position: absolute;
  right: 0;
  bottom: -40px;
  display: block;
  width: 80px;
  height: 80px;
  background: url(https://www.eng.ehime-u.ac.jp/rikougaku/images/footer/totop_en.png) no-repeat left top;
  background-size: cover;
  text-indent: -9999px;
}
body .site .site-footer .wrap-scroll-top.row a#scroll-top.fright:hover {
  background-position: left -80px;
}
body .site .site-footer .fnavi {
  clear: both;
  width: 100%;
  margin: 0 auto;
  padding: 16px 0;
}
body .site .site-footer .fnavi .social-navigation {
  width: 1080px;
  margin: 0 auto;
  text-align: center;
}
body .site .site-footer .fnavi .social-navigation ul.social-links-menu {
  margin: 0 auto;
  padding: 0;
}
body .site .site-footer .fnavi .social-navigation ul.social-links-menu li {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  font-weight: 400;
}
body .site .site-footer .fnavi .social-navigation ul.social-links-menu li a {
  margin: 0 16px;
}
body .site .site-footer .fnavi .social-navigation ul.social-links-menu li a:hover {
  color: #194373;/*#eb6100*/
}
body .site .site-footer .fnavi .social-navigation ul.social-links-menu li a svg {
  display: none;
}
body .site .site-footer .fnavi .social-navigation ul.social-links-menu li:first-child a {
  margin-left: 0;
}
body .site .site-footer .fnavi .social-navigation ul.social-links-menu li:last-child a {
  margin-right: 0;
}
body .site .site-footer .fnavi .social-navigation ul.social-links-menu li:before {
  content: "|";
}
body .site .site-footer .fnavi .social-navigation ul.social-links-menu li:first-child:before {
  content: none;
}
body .site .site-footer .fnavi .social-navigation ul.social-links-menu li:nth-child(3) {
  display: none;
}
body .site .site-footer .wrap-contact {
  padding: 0 0 30px 0;
}
body .site .site-footer .wrap-contact a.logo {
  display: block;
  width: 290px;
  height: auto;
  margin: 45px auto;
}
body .site .site-footer .wrap-contact a.logo img {
  width: 100%;
  height: auto;
}
body .site .site-footer .wrap-contact a.logo:hover img {
  opacity: .9;
}
body .site .site-footer .wrap-contact .info {
  text-align: center;
  line-height: 1.8;
}
body .site .site-footer .wrap-contact .info h2 {
  font-weight: 700;
}
body .site .site-footer .site-info {
  width: 100%;
  background: #333;
}
body .site .site-footer .site-info .info {
  text-align: center;
}
body .site .site-footer .site-info .copy {
  width: 1080px;
  color: #fff;
  text-align: center;
  margin: 0 auto;
  padding: 20px 0 60px 0;
}
body.search .wrap .page-header h1 {
  width: 880px;
  margin: 30px auto 0 auto;
}
body section.no-results.not-found,
body section.error-404.not-found,
body section.search,
body section.widget_search {
  width: 880px;
  margin: 30px auto;
  overflow: hidden;
  *zoom: 1;
}
body section.no-results.not-found form.search-form,
body section.error-404.not-found form.search-form,
body section.search form.search-form,
body section.widget_search form.search-form {
  margin: 30px auto 100px auto;
}
body section.no-results.not-found label,
body section.error-404.not-found label,
body section.search label,
body section.widget_search label {
  width: 100%;
  display: block;
  margin-bottom: 6px;
}
body section.no-results.not-found input.search-field,
body section.error-404.not-found input.search-field,
body section.search input.search-field,
body section.widget_search input.search-field {
  width: 650px;
  float: left;
  padding: 10px 20px;
  margin-right: 20px;
}
body section.no-results.not-found button.search-submit,
body section.error-404.not-found button.search-submit,
body section.search button.search-submit,
body section.widget_search button.search-submit {
  float: left;
  width: 100px;
  height: 38px;
  padding: 5px 10px;
  background: #feedee;
  border: 2px solid #be0008;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
body section.no-results.not-found button.search-submit svg.icon,
body section.error-404.not-found button.search-submit svg.icon,
body section.search button.search-submit svg.icon,
body section.widget_search button.search-submit svg.icon {
  width: 100%;
  height: 100%;
}
body section.no-results.not-found button.search-submit span.screen-reader-text,
body section.error-404.not-found button.search-submit span.screen-reader-text,
body section.search button.search-submit span.screen-reader-text,
body section.widget_search button.search-submit span.screen-reader-text {
  display: none;
}

@media screen and (min-width: 0px) and (max-width: 750px) {
  body {
    /* STYLE */
  }
  body img {
    width: 100%;
    height: auto;
  }
  body .sp {
    display: block;
  }
  body .pc {
    display: none;
  }
  body .site {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    float: none;
  }
  body .site .site-header {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  body .site .site-header .site-branding.row {
    width: 90%;
    height: auto;
    margin: 0;
    padding: 0;
    margin: 0 auto;
  }
  body .site .site-header .site-branding.row h1.site-title.fleft {
    width: 75%;
    height: auto;
    padding: 3% 0;
  }
  body .site .site-header .site-branding.row h1.site-title.fleft a {
    display: block;
    width: 100%;
    height: 0;
    margin: 0;
    padding-top: 17%;
  }
  body .site .site-header .site-branding.row .fright {
    width: 16%;
    height: auto;
    padding: 2% 0 0 0;
  }
  body .site .site-header .site-branding.row .fright .menu.fright.sp {
    width: 100%;
    height: 0;
    padding-top: 100%;
    background: #fff;
    position: relative;
  }
  body .site .site-header .site-branding.row .fright .menu.fright.sp .trigger,
  body .site .site-header .site-branding.row .fright .menu.fright.sp .trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
  }
  body .site .site-header .site-branding.row .fright .menu.fright.sp .trigger {
    position: absolute;
    top: 0;
    height: 0;
    width: 100%;
    height: 100%;
  }
  body .site .site-header .site-branding.row .fright .menu.fright.sp .trigger span {
    position: absolute;
    left: 15%;
    width: 70%;
    height: 0;
    padding-bottom: 3%;
    background-color: #215389;
    border-radius: 4px;
  }
  body .site .site-header .site-branding.row .fright .menu.fright.sp .trigger span:nth-of-type(1) {
    top: 20%;
  }
  body .site .site-header .site-branding.row .fright .menu.fright.sp .trigger span:nth-of-type(2) {
    top: 46%;
  }
  body .site .site-header .site-branding.row .fright .menu.fright.sp .trigger span:nth-of-type(4) {
    top: 46%;
  }
  body .site .site-header .site-branding.row .fright .menu.fright.sp .trigger span:nth-of-type(3) {
    top: 72%;
  }
  body .site .site-header .site-branding.row .fright .menu.fright.sp .trigger.active span:nth-of-type(1) {
    opacity: 0;
  }
  body .site .site-header .site-branding.row .fright .menu.fright.sp .trigger.active span:nth-of-type(2) {
    -webkit-transform: translateY(0) rotate(315deg);
    transform: translateY(0) rotate(315deg);
  }
  body .site .site-header .site-branding.row .fright .menu.fright.sp .trigger.active span:nth-of-type(4) {
    -webkit-transform: translateY(0) rotate(45deg);
    transform: translateY(0) rotate(45deg);
  }
  body .site .site-header .site-branding.row .fright .menu.fright.sp .trigger.active span:nth-of-type(3) {
    opacity: 0;
  }
  body .site .site-header .site-branding.row .fright .menu.fright.sp .trigger div {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: 2vw;
    text-align: center;
    color: #333;
  }
  body .site .site-header .navigation-top.sp {
    width: 100%;
    height: auto;
    margin: 0 auto;
    clear: both;
  }
  
  body .site .site-header .navigation-top.sp .main-navigation {
    width: 100%;
    height: auto;
    margin: 0;
  }
  body .site .site-header .navigation-top.sp .main-navigation ul.menu {
    display: none;
    border: none;
    position: static;
  }
  
  body .site .site-header .navigation-top.sp .main-navigation ul.menu li {
    border: none;
    display: block;
    position: static;
    top: 0;
    width: 100%;
    vertical-align: baseline;
    text-align: left;
    font-weight: 400;
    font-size: 4vw;
    padding: 0;
    background: url(https://www.eng.ehime-u.ac.jp/rikougaku/images/header/arrow.png) no-repeat right 5% top 50%; /*top 50%*/
    background-size: 2.6% auto;
    border-top: 1px solid #215389;/*#f8b500*/
  }
  body .site .site-header .navigation-top.sp .main-navigation ul.menu li a {
    display: block;
    height: auto;
    text-indent: 0;
    background: none;
    line-height: inherit;
    padding: 4% 0 4% 2em;
    font-size: 4.5vw;
  }
  /*body .site .site-header .navigation-top.sp .main-navigation ul.menu > li:first-child,*/
  body .site .site-header .navigation-top.sp .main-navigation ul.menu > li:nth-child(2) {
    background-image: url(https://www.eng.ehime-u.ac.jp/rikougaku/images/header/dash.png);
    background-size: 5% auto;
    background-position: right 5% top 10%;
    cursor: default;
  }
  body .site .site-header .navigation-top.sp .main-navigation ul.menu > li:first-child button.dropdown-toggle,
  body .site .site-header .navigation-top.sp .main-navigation ul.menu > li:nth-child(2) button.dropdown-toggle,
  body .site .site-header .navigation-top.sp .main-navigation ul.menu > li:first-child svg.icon.icon-angle-down,
  body .site .site-header .navigation-top.sp .main-navigation ul.menu > li:nth-child(2) svg.icon.icon-angle-down {
    display: none;
  }
  body .site .site-header .navigation-top.sp .main-navigation ul.menu > li:nth-child(2) ul.sub-menu li a,
  body .site .site-header .navigation-top.sp .main-navigation ul.menu > li:first-child ul.sub-menu li a {
    padding-left: 3.5em;
  }
  body .site .site-header .navigation-top.sp .main-navigation ul.menu > li:last-child {
    background: #215389;/*#f8b500*/
  }
  body .site .site-header .navigation-top.sp .main-navigation ul.menu > li:last-child a {
    padding-left: 0;
    color: #fff;
    text-align: center;
  }
  body .site .site-content {
    overflow: hidden;
    *zoom: 1;
    width: 100%;
    margin: 0 auto;
    float: none;
  }
  body .site .site-content .wrap-breadcrumb .breadcrumb {
    width: 95%;
    margin: 0 auto;
  }
  body .site .site-content .wrap-breadcrumb .breadcrumb a img {
    display: inline;
    vertical-align: top;
    width: 18px;
    height: auto;
    padding-top: 2px;
  }
  body .site .site-content .wrap {
    width: 100%;
  }
  body .site .site-content .wrap .content-area .site-main {
    width: 100%;
    padding: 0;
  }
  body .site .site-content .wrap .content-area .site-main .hentry {
    width: 100%;
    padding: 0;
    margin: 0 auto 8% auto;
    box-shadow: none;
  }
  body .site .site-content .wrap .content-area .site-main .hentry .entry-header {
    padding: 0;
  }
  body .site .site-content .wrap .content-area .site-main .hentry .entry-content {
    padding: 0;
  }
  body .site .site-content .wrap .content-area .site-main .hentry p {
    margin: 0 0 1.5em 0;
  }
  body .site .site-footer {
    float: none;
    width: 100%;
    margin: 0;
    box-shadow: none;
    padding-top: 24%;
  }
  body .site .site-footer .wrap-scroll-top.row {
    width: 100%;
    margin: 0 auto;
  }
  body .site .site-footer .wrap-scroll-top.row a#scroll-top.fright {
    width: 21%;
    height: 0;
    padding-top: 21%;
    background: url(https://www.eng.ehime-u.ac.jp/rikougaku/images/footer/totop-sp_en.png) no-repeat left top;
    background-size: cover;
    bottom: 5em;
    right: 1em;
  }
  body .site .site-footer .wrap-scroll-top.row a#scroll-top.fright:hover {
    background-position: left top;
  }
  body .site .site-footer .fnavi {
    clear: both;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border-top: none;
  }
  body .site .site-footer .fnavi .social-navigation {
    width: 100%;
    margin: 0;
  }
  body .site .site-footer .fnavi .social-navigation ul.social-links-menu {
    margin: 0 auto 3% auto;
    width: 85%;
    padding: 0;
    font-size: 4vw;
  }
  body .site .site-footer .fnavi .social-navigation ul.social-links-menu li a {
    line-height: 1.8;
    margin: 0 1em;
  }
  body .site .site-footer .fnavi .social-navigation ul.social-links-menu li:before {
    content: none;
  }
  body .site .site-footer .fnavi .social-navigation ul.social-links-menu li:after {
    content: "|";
  }
  body .site .site-footer .fnavi .social-navigation ul.social-links-menu li:nth-child(2):after, body .site .site-footer .fnavi .social-navigation ul.social-links-menu li:last-child:after {
    content: none;
  }
  body .site .site-footer .site-info {
    width: 100%;
    padding-bottom: 8%;
  }
  body .site .site-footer .site-info .copy {
    width: 100%;
    padding: 4% 0 5% 0;
    font-size: 3.8vw;
  }
  body .site #floating-footer {
    width: 100%;
    background: #fffd32;
    position: fixed;
    bottom: 0;
    z-index: 200;
  }
  body .site #floating-footer a {
    display: block;
  }
  body .site #floating-footer a img {
    height: auto;
    margin: 0;
  }
  body .site #floating-footer a:first-child {
    float: left;
    width: 49.9%;
    background: #be0008;
    padding: 3.2% 3%;
  }
  body .site #floating-footer a:first-child img {
    width: 100%;
  }
  body .site #floating-footer a:nth-child(2) {
    float: left;
    width: 25%;
    background: #215389;/*#fffd32*/
    padding: 1.7% 0;
  }
  body .site #floating-footer a:nth-child(2) img {
    width: 53%;
    margin: 0 auto;
  }
  body .site #floating-footer a:last-child {
    float: right;
    width: 25%;
    background: #31ae36;
    padding: 1.8% 0;
  }
  body .site #floating-footer a:last-child img {
    width: 53%;
    margin: 0 auto;
  }
  body.search .wrap .page-header h1 {
    width: 94%;
    margin: 3% auto;
  }
  body section.no-results.not-found,
  body section.error-404.not-found,
  body section.search,
  body section.widget_search {
    width: 94%;
    margin: 3% auto;
  }
  body section.no-results.not-found form.search-form,
  body section.error-404.not-found form.search-form,
  body section.search form.search-form,
  body section.widget_search form.search-form {
    margin: 5% auto 20% auto;
  }
  body section.no-results.not-found label,
  body section.error-404.not-found label,
  body section.search label,
  body section.widget_search label {
    width: 100%;
    display: block;
    margin-bottom: 2%;
  }
  body section.no-results.not-found input.search-field,
  body section.error-404.not-found input.search-field,
  body section.search input.search-field,
  body section.widget_search input.search-field {
    width: 82%;
    padding: 3% 3%;
    margin-right: 3%;
  }
  body section.no-results.not-found button.search-submit,
  body section.error-404.not-found button.search-submit,
  body section.search button.search-submit,
  body section.widget_search button.search-submit {
    float: right;
    width: 14%;
    height: 3.5em;
    padding: 2% 3%;
    background: #feedee;
    border: 2px solid #be0008;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
  }
}
