@charset "utf-8";
/* CSS Document */

body.translatepress-en_US li.language #lang-en {
  background: var(--blue);
  color: var(--white);
}

/*header*/
.logo a h1 {
  width: 210px;
}

header .header__inner .head__sp__inner .head__flex .logo {
  margin-right: 11%;
}

/*TOP*/
section#guide
  .guide__inner
  nav.middle
  ul.middle__list
  li.middle__list__li
  figure.card-thumb
  b {
  padding: 0;
  height: auto;
}

section#guide
  .guide__inner
  nav.middle
  ul.middle__list
  li.middle__list__li
  figure.card-thumb {
  display: flex;
  align-items: center;
  height: 100px;
  background: var(--white);
}

/*サブ*/
.sub__head .en {
  display: none;
}

/*department*/
.lower__ico {
  left: 0;
}

.nav_title h2 {
  padding: 0 0 0 38px;
}

/*research*/
.r-top .name ruby {
  display: none;
}

/*footer*/
.logo a h1 span {
    font-size: 0.7em;
}

@media screen and (min-width: 500px) {
  /*department*/
  figure.card-thumb.size-full {
    margin: 0 10px 0 0;
  }
}

@media screen and (min-width: 767px) {
  /*sub*/
  .sub__head h1 {
    line-height: 1.3;
  }

  /*department*/
  .ph a {
    max-width: 190px;
  }

  /*research*/
  .department > span {
    line-height: 1.3;
    padding: 0 14px 4px;
  }

  /*access*/
  .access-wrap .map-bottom .button-box {
    margin: 0 5% 0 0;
    min-width: 310px;
  }
}

@media screen and (min-width: 991px) {
  /*header*/
  .logo a h1 {
    width: 280px;
}
  /*department*/
  .flow-list {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
  }

  .flow-list h6 {
    order: 2;
    margin: 10px auto 0;
  }

  .template h2 {
    line-height: 1.3;
  }
}

@media screen and (min-width: 1200px) {
  /*header*/
  header .header__inner .global__menu {
    width: 990px;
  }

  header .header__inner ul.global__menu__list {
    gap: 17px;
  }

  

  .global__menu__list li ol.small-list {
    width: 353px;
  }

.logo a h1 {
    width: 250px;
}
header.is-animation .header__inner .head__pc .logo a h1 {
    width: 300px;
}
  /*top*/
  section#guide
    .guide__inner
    nav.middle
    ul.middle__list
    li.middle__list__li
    figure.card-thumb
    b {
    font-size: 1.5em;
  }

  section#guide
    .guide__inner
    nav.middle
    ul.middle__list
    li.middle__list__li
    figure.card-thumb {
    height: 150px;
  }

  /*sub*/
  .sub__head h1 {
    width: 47%;
    font-size: 3em;
  }

  /*department*/
  .depart-wrap .d-box {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
  }

  .depart-wrap .d-box .wp-block-buttons {
    width: 100%;
  }

  /*footer*/
  .logo a h1 span {
    font-size: 0.8em;
}
}

@media screen and (min-width: 1400px) {
  header .header__inner .global__menu {
    width: 1200px;
  }

  header .header__inner ul.global__menu__list {
    gap: 40px;
  }
}

@media screen and (min-width: 1699px) {
  header .header__inner .global__menu {
    width: 1240px;
  }

  header .header__inner ul.global__menu__list {
    gap: 50px;
  }

  .logo a h1 {
    width: 340px;
}

}
