﻿@charset "utf-8";
/*
Theme Name: ou_matsumoto
Theme URI: 
Author: Science Graphics
Author URI: https://wordpress.org/
Description: This template is designed by Science Graphics
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Science Graphics

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
:root {
  --navy: #090d34;
  --blue: #0c3494;
  --cyan: #00c6ee;
  --muted: #9ee7f2;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--navy);
    overflow-y: scroll;
}

body {
  margin: 0;
  font-family: "Noto Sans JP",Meiryo,sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

a {
  color: #fff;
  text-decoration: none;
  transition: .2s;
}

a:hover {
  color: var(--cyan);
  text-decoration: none;
    opacity: 0.8;
}

a:hover img{
	opacity:0.8;	
	filter: alpha(opacity=80);
	-ms-filter: "alpha(opacity=80)";
}

.wrapper {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

h1,h2,h3,.brand strong,.section-title {
  font-family: sans-serif;
  font-weight: 900;
}

/* font awesome */

*:before, *:after{
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

.fade-in {
  opacity: 0;
  transform: none;
  transition: opacity .9s ease,transform .9s ease;
  will-change: opacity,transform;
}

.fade-in.is-animated {
  opacity: 1;
  transform: none;
}

.fade-in.simple-fade {
  transform: none;
}

.fade-in.rise-up {
  transform: translateY(34px);
}

.fade-in.rise-left {
  transform: translateX(-54px);
}

.fade-in.zoom-in {
  transform: scale(.94);
}

.fade-in.rise-up.is-animated,.fade-in.rise-left.is-animated,.fade-in.zoom-in.is-animated {
  transform: translate(0,0) scale(1);
}

#news li.fade-in:nth-child(2),.research-grid article.fade-in:nth-child(2) {
  transition-delay: .12s;
}

#news li.fade-in:nth-child(3),.research-grid article.fade-in:nth-child(3) {
  transition-delay: .24s;
}

#news li.fade-in:nth-child(4) {
  transition-delay: .36s;
}

#news li.fade-in:nth-child(5) {
  transition-delay: .48s;
}

@media(prefers-reduced-motion:reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

}

header {
  position: sticky;
  top: 0;
  box-sizing: border-box;
  z-index: 20;
  width: 100%;
  background: rgba(44,111,163,.82);
    padding-top: 5px;
}

.header-inner {
}

header img.bnr{
    width: 550px;
    float: right;
}

header p{
    margin: 0;
    padding: 0;
    color: #fff;
}

.full{
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
}

img.brand-mark {
  width: 30px;
    margin-right: 10px;
    display: block;
}

.brand-university {
  font-size: 18px;
    display: block;
}

.brand strong {
  font-size: 30px;
    margin-left: 10px;
}

.eng_title {
  font-size: 14px;
    line-height: 100%;
    display: none;
}

.language {
  text-align: right;
}

.language span {
  display: inline-block;
  margin: 10px 10px 0;
  padding: 0 8px;
  border-radius: 15px;
  background: #796ee9;
}

.language a {
  padding-left: 10px;
  border-left: 1px solid #fff;
}

nav {
  padding: 0px 0 10px;
}

nav ul {
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  font-size: 16px;
}

nav a:after {
  content: "›";
  padding-left: 6px;
}

nav ul li a:hover,
nav ul li.current-menu-item a{
	color:#00c6ee;
	text-decoration:none;
}

html[lang="en"] .brand-university {
  
}

html[lang="en"] .brand strong {
  font-size: 21px;
}

html[lang="en"] nav ul {
  gap: 13px;
}

html[lang="en"] nav a {
  
}

html[lang="en"] .language a {
  padding-right: 10px;
  padding-left: 0;
  border-right: 1px solid #fff;
  border-left: 0;
}

html[lang="en"] .language span {
  margin-right: 0;
  margin-left: 10px;
}

#sp_menu {
  display: none;
}

main {
  
}

.hero-grid {
  position: relative;
}

.hero-grid img {
  display: block;
  width: 100%;
}

#hero-catchcopy {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 1;
  display: block;
  width: 60%;
  padding: 6px 16px;
  margin-top: 0;
  background-color: #00C8FF;
  color: #fff;
  font-family: sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 1rem;
  transform: translateX(-50%);
}

#about {
  padding: 45px 0;
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 610px;
}

.about-copy {
  padding: 28px 20px 20px;
}

.about-copy h1 {
  margin: 0 0 38px;
  color: #a5ecf2;
  background: linear-gradient(90deg,#8ee8f5 0%,#b9f1f6 30%,#000 60%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 38px;
  line-height: 1.45;
}

.about-copy h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.about-copy p {
  font-size: 16px;
}

.about-visual {
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#about-catchcopy{
    position: absolute;
    font-family: sans-serif;
    font-weight: 600;
    font-size: 20px;
    color:#fff;
    margin-top: 60px;
    margin-left: 20px;
}

#about-catchcopy span{
    color:#00c8ff;
}

.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 315px;
  padding: 14px 35px;
  border-radius: 999px;
  background: var(--cyan);
  font-family: sans-serif;
  font-size: 17px;
  font-weight: 900;
}

.pill i {
  position: absolute;
  right: 24px;
  top: 35%;
}

.pill:hover{
  color: #fff;
}

.small-pill {
  min-width: 150px;
  padding: 4px 22px;
  font-size: 15px;
}

.about-grid>.small-pill {
  position: absolute;
  right: 20px;
  bottom: 25px;
}

#news {
  padding: 20px 0 55px;
    background: #e9e9e9;
}

.news-box {
  position: relative;
  padding: 35px 65px 48px;
}

.section-title {
  margin: 0 0 25px;
  text-align: center;
  font-size: 32px;
  line-height: 1.1;
}

#news h2{
  color: #000;
}

.section-title:before {
  content: "";
  display: block;
  width: 100px;
  height: 5px;
  margin: 0 auto 10px;
  background: var(--cyan);
}

#news ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#news li {
  display: grid;
  grid-template-columns: 165px 1fr;
  border-bottom: 1px dotted var(--cyan);
  font-size: 16px;
}

#news li a{
    color: #000;
}

#news li a:hover{
    color: #007bff;
}


#news time:before {
  content: "■";
  margin-right: 10px;
}

#news .more-link {
  position: absolute;
  right: 60px;
  bottom: 15px;
  font-family: sans-serif;
  font-size: 15px;
  font-weight: 900;
    color: #000;
}

#research {
  padding: 20px 0 50px;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 60px;
}

.research-grid article {
  border-bottom: 4px solid #fff;
}

.research-grid img {
  display: block;
  width: 100%;
  height: 195px;
  object-fit: cover;
}

.research-grid span {
  display: inline-block;
  padding: 0 10px;
  background: var(--cyan);
  font-size: 15px;
  line-height: 1.5;
}

.research-grid p {
  margin: 4px 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

.research-more {
  margin: 10px 0 0 auto;
  display: inline-block;
  float: right;
}



#join {
  position: relative;
  padding: 36px 0 55px;
    background: url("images/bg_join.jpg");
background-position: center;
background-size: cover;
}


#join .wrapper {
  position: relative;
  z-index: 1;
}

.join-ribbon {
  display: inline-block;
  margin: 10px 0 25px;
  padding: 8px 55px;
  background: #7385de;
  font-size: 18px;
    color: #fff;
}

#join h3 {
  font-size: 25px;
    margin-top: 20px;
}

.join-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 44px;
}

#sitemap{
    background: #ccdef5;
}

footer {
  background: var(--navy);
}

.footer-top {
  padding: 45px 0 35px;
}


.footer-bottom {
  padding: 25px 0;
  background: #2c6fa3;
    color: #fff;
}

.footer-grid {
}

.footer-grid h2 {
  margin: 0;
  font-size: 26px;
}

.footer-grid h3 {
  margin: 0 0 24px;
  font-size: 18px;
}

.footer-grid p {
  margin: 5px 0;
}

.footer-grid img {
  width: 100%;
}

p.copyright {
  margin: 35px 0 0;
  text-align: center;
  font-size: 16px;
}

.breadcrumb {
  background: transparent;
}

.faq-list section {
  margin: 0 0 16px;
  padding: 16px 20px;
  background: #e5f9fd;
  border-left: 3px solid var(--cyan);
}

.faq-list h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 19px;
}

.faq-list h3:before {
  content: "Q. ";
  color: var(--cyan);
}

.faq-list p {
  margin: 0;
}

.faq-list p:before {
  content: "A. ";
  color: var(--muted);
  font-family: sans-serif;
  font-weight: 900;
}

.faq-list ul {
  margin: 10px 0 0;
  color: #fff;
}

.sub-main {
  padding: 0px 0 70px;
}

.sub-hero {
  padding: 65px 0 38px;
  border-bottom: 1px solid rgba(0,198,238,.35);
  background: radial-gradient(circle at 82% 20%,rgba(10,78,137,.55),transparent 34%);
}

.sub-hero h1 {
  margin: 0;
  color: #000;
  font-size: 44px;
}

.sub-hero p {
  margin: 6px 0 0;
  color: var(--muted);
  font-family: sans-serif;
  font-size: 18px;
  font-weight: 900;
}


#breadcrumb{
    padding-top: 100px;
}

#breadcrumb ul{
    display: flex;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

#breadcrumb ul li{
}

#breadcrumb ul li a{
    color: #2c6fa3;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.breadcrumb li+li:before {
  content: "›";
  padding-right: 10px;
  color: var(--cyan);
}

.breadcrumb a {
  color: #2c6fa3;
}

body.single h1{
	font-size:28px;
    margin-bottom: 30px;
}

body.single header a{
	color: #fff;
}

body.single #main_content a{
	color: #2c6fa3;
}

#content_area a{
	color: #2c6fa3 !important;
}


.sub-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 255px;
  gap: 50px;
    position: relative;
}

.sub-layout.single-column {
  display: block;
}

.content-panel {
  padding: 34px 40px;
  border-top: 4px solid var(--cyan);
}

.content-panel h2 {
  margin: 30px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,198,238,.55);
  font-size: 28px;
}

.content-panel h2[id],.content-panel h3[id] {
  scroll-margin-top: 105px;
}

.content-panel h3 {
  margin: 34px 0 12px;
  color: #2c6fa3;
  font-size: 22px;
}

.faq-list h3 {
  margin: 0 0 7px;
  font-size: 19px;
}

.content-panel ul {
  padding-left: 1.3em;
}

.content-panel li {
  margin: 7px 0;
}

.content-panel a {
  color: #2c6fa3;
}

.local-nav {
  align-self: start;
  padding: 20px;
  border-top: 4px solid var(--cyan);
    background: #2c6fa3;
}

.local-nav h2 {
  margin: 0 0 12px;
  font-size: 20px;
    color: #fff;
}

.local-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.local-nav li {
  border-top: 1px dotted rgba(158,231,242,.5);
}

.local-nav a {
  display: block;
  padding: 9px 4px;
  font-size: 15px;
}

.local-nav a:before {
  content: "›";
  padding-right: 8px;
  color: var(--cyan);
}

.local-nav a.current {
  color: var(--cyan);
  font-weight: 900;
}

.research-summary {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,42%);
  gap: 34px;
  align-items: start;
}

.research-figures {
  display: grid;
  gap: 18px;
}

.research-figures img,
.research-figure {
  display: block;
  width: 100%;
  border: 1px solid rgba(158,231,242,.35);
  background: rgba(255,255,255,.05);
}

.content-panel .research-figures {
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin-top: 26px;
}

.results-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.results-list li {
  padding: 14px 0;
  border-bottom: 1px dotted rgba(158,231,242,.5);
}

table.student{
    width: 100%;
    margin: 20px 0;
}

table.student tr td{
    border-bottom: 1px dashed #333;
    padding: 10px 5px;
}

#google_translate_element {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

#translate-en{
    cursor: pointer;
    font-size: 18px;
}

.pc_none{
        display: none;
    }


@media(max-width:767px) {
  body {
    font-size: 16px;
  }

  .wrapper {
    max-width: calc(100% - 28px);
  }
    
    .sp_none{
        display: none;
    }
    
    .pc_none{
        display: block;
    }

  header {
    height: 70px;
  }
    
    header img.logo{
    display: none;
  }

  .brand {
    gap: 6px;
  }

  .brand-mark {
    font-size: 25px;
  }

  .brand-university {
    font-size: 12px;
  }

  .brand strong {
    font-size: 14px;
  }

  .language {
    left: 15px;
    top: 0px;
  }
    
    #translate-en {
  font-size: 12px;
}

  nav {
    display: none;
    position: absolute;
    top: 40px;
    left: 0px;
    width: 100%;
    padding: 0;
    
  }

  nav ul {
    display: block;
  }

  nav li {
    border-bottom: 1px solid rgba(255,255,255,.25);
  }

  nav a {
    display: block;
    padding: 10px 18px;
    font-size: 16px;
      background: rgba(9,13,52,.98);
  }

    nav a:hover{
    opacity: 1;
  }
    
  #sp_menu {
    display: block;
    position: fixed;
    right: 14px;
    top: 20px;
    z-index: 30;
  }

  main {
    
  }

  .hero-grid {
    height: auto;
    max-width: 100%;
      margin-top: 0;
  }
    
    #hero-catchcopy {
  width: 90%;
  padding: 6px 10px;
  font-size: 16px;
        letter-spacing: 0.1rem;
}

  .about-grid {
    display: block;
    min-height: 0;
  }

  .about-copy {
    padding: 24px 0 12px;
  }

  .about-copy h1 {
    font-size: 28px;
    margin-bottom: 22px;
  }

  .about-copy h2 {
    font-size: 24px;
  }

  .about-copy p {
    font-size: 16px;
  }

  .about-visual {
    height: 210px;
  }

  .about-grid>.small-pill {
    right: 10px;
    bottom: 15px;
  }

  #news {
    padding: 20px 0;
  }

  .news-box {
    padding: 28px 18px 50px;
  }

  .section-title {
    font-size: 28px;
  }

  #news li {
    display: block;
    padding: 6px 0;
    font-size: 16px;
    line-height: 1.5;
  }

  #news time {
    display: block;
  }

  .research-grid {
    display: block;
  }

  .research-grid article {
    margin-bottom: 24px;
  }

  .research-grid img {
    height: auto;
  }

  .research-more {
    margin-top: 8px;
  }

  #join {
    padding: 30px 0;
  }

  .join-ribbon {
    padding: 7px 18px;
    font-size: 16px;
  }

  #join h3 {
    font-size: 22px;
  }

  .join-buttons {
    display: block;
    margin-top: 22px;
  }

  .pill {
    min-width: 0;
    margin: 12px auto;
  }

  .footer-top {
    padding: 25px 0;
  }

  .footer-top img {
    height: auto;
  }

  .footer-grid {
    display: block;
  }

  .footer-grid h2 {
    font-size: 21px;
  }

  .footer-grid h3 {
    font-size: 16px;
  }

  .footer-grid p {
    font-size: 15px;
  }

  .footer-grid img {
    margin-top: 16px;
  }

  .copyright {
    font-size: 12px;
  }

  .sub-main {
  }

  .sub-hero {
    padding: 38px 0 24px;
  }

  .sub-hero h1 {
    font-size: 32px;
  }

  .sub-hero p {
    font-size: 16px;
  }

  .sub-layout {
    display: block;
  }

  .research-summary,
  .content-panel .research-figures {
    display: block;
  }

  .research-figures img,
  .research-figure {
    margin-top: 18px;
  }

  .content-panel {
    padding: 24px 18px;
  }

  .content-panel h2 {
    font-size: 24px;
  }

  .content-panel h3 {
    font-size: 20px;
  }

  .local-nav {
    margin-top: 25px;
  }

}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px;
  margin: 0 0 28px;
}

.faculty-card {
  display: grid;
  grid-template-columns: 150px minmax(0,1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-left: 3px solid var(--cyan);
}

.faculty-photo {
  display: block;
  width: 150px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.faculty-body h4 {
  margin: 0 0 8px;
  font-family: sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.faculty-position {
  display: inline-block;
  margin: 0 0 14px;
  padding: 1px 10px;
  background: var(--cyan);
  color: #fff;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.7;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 13px;
  border: 1px solid rgba(158,231,242,.65);
  color: var(--muted);
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.profile-links a:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #fff;
}

.content-panel li,.local-nav a {
  font-family: sans-serif;
}

.content-panel li {
  color: #000;
}

.local-nav a {
  color: #fff;
}

@media(max-width:767px) {
  .faculty-grid {
    grid-template-columns: 1fr;
  }

  .faculty-card {
    grid-template-columns: 108px minmax(0,1fr);
    gap: 14px;
    padding: 14px;
  }

  .faculty-photo {
    width: 108px;
  }

  .faculty-body h4 {
    font-size: 20px;
  }

  .profile-links a {
    min-height: 32px;
    padding: 4px 10px;
  }

}

/* WordPress compatibility for ou_matsumoto */
body.lang-en .lang-ja,
body.lang-ja .lang-en {
  display: none;
}

header .header-inner > p {
  display: contents;
  margin: 0;
}

header .brand br,
#eyecatch .hero-grid br,
#about .about-grid br,
#research .wrapper > br,
#join .wrapper > br,
.research-figures br {
  display: none;
}

.brand img,
.hero-grid img,
.about-visual img,
.research-grid img,
.research-figures img,
.footer-top img,
.footer-grid img,
.faculty-photo {
  vertical-align: bottom;
}

#eyecatch .hero-grid > p,
#about .about-visual > p,
#research .research-grid > p,
#join .wrapper > p:empty {
  display: contents;
  margin: 0;
}

#about .about-grid > p,
#research .wrapper > p,
#join .wrapper > p {
  margin: 0;
}

#about .about-grid > p > .small-pill {
  position: absolute;
  right: 20px;
  bottom: 25px;
}

#research .wrapper > p > .research-more {
  margin: 45px 0 0 auto;
  display: inline-block;
  float: right;
}

.footer-grid > p > img {
  width: 100%;
}

.language ul,
.language li {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}

.language li:before {
  content: "";
}

.language li.current-lang a,
.language span {
  display: inline-block;
  margin-right: 10px;
  padding: 0 8px;
  border-radius: 15px;
  background: #796ee9;
  color: #fff;
}

.language a {
  color: #fff;
}

.editbutton {
  position: absolute;
  z-index: 50;
  padding: 2px 8px;
  background: var(--cyan);
  color: #fff;
}

.posts_archive {
  margin: 0;
  padding: 0;
  list-style: none;
}

#news .posts_archive li.row,
.archive .posts_archive li.row,
.category .posts_archive li.row {
  margin-right: 0;
  margin-left: 0;
}

#news .posts_archive li,
.archive .posts_archive li,
.category .posts_archive li {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 0;
  border-bottom: 1px dotted var(--cyan);
  font-size: 16px;
}

.archive .posts_archive li,
.category .posts_archive li {
  grid-template-columns: 140px 160px 1fr;
  padding: 8px 0;
    color: #000;
}

#news .posts_archive .date:before,
.archive .posts_archive .date:before,
.category .posts_archive .date:before {
  content: "■";
  margin-right: 10px;
}

#news .posts_archive .col-6,
#news .posts_archive .col-12,
.archive .posts_archive [class*="col-"],
.category .posts_archive [class*="col-"] {
  flex: none;
  width: auto;
  max-width: none;
  padding: 0;
}

#news .posts_archive .col-6 {
  grid-column: 1;
}

#news .posts_archive .col-12 {
  grid-column: 2;
}

.label.cat {
  display: inline-block;
  padding: 1px 8px;
  background: var(--cyan);
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
}

#main_content,
#content_area {
  min-height: 0;
}

#pagetop {
  clear: both;
  margin-top: 24px;
  text-align: right;
}

#pagetop a {
  color: #2c6fa3;
    border: 1px solid #2c6fa3;
    border-radius: 5px;
    padding: 5px 10px;
}

#pagetop a:before{
  content: "\f0d8";
    margin-right: 5px;
}

#content_area > .content-panel {
  min-width: 0;
}

#sidebar {
  min-width: 0;
    position: sticky;
    top: 300px;
}

@media(max-width:767px) {
  #news .posts_archive li,
  .archive .posts_archive li,
  .category .posts_archive li {
    display: block;
    padding: 6px 0;
    font-size: 16px;
    line-height: 1.5;
  }

  #about .about-grid > p > .small-pill {
    right: 10px;
    bottom: 15px;
  }
}
