:root {
  --main: #B7183F;
  --dark: #980037;
  --bgc1: #F2F2F0;
  --bgc2: #EAEAE3;
  --normal: #333;
  --gothic: "Noto Sans JP", serif;
  --mincho: "Noto Serif JP", serif;
}

#common-header,
#common-footer {
  border: 0;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  margin: 0;
  outline: 0;
  vertical-align: baseline;
}

#common-header {
  background: #FFF;
  padding: 0;
  display: block;
  position: relative;
  z-index: 9999;
}

header#common-header ul li {
  padding-left: 0;
}

header#common-header ul li:before {
  display: none;
}

header#common-header a {
  color: inherit;
  text-decoration-color: transparent;
  transition: .3s;
}

.h_logo {
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.h_logo img {
  width: 288px;
  max-width: inherit;
}

.head {
  display: flex;
}

.h_subnav-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.h_subnav {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  column-gap: 35px;
}

.h_subnav-btn,
.h_subnav-list {
  display: flex;
}

.h_subnav-btn li a,
.h_subnav-list li a {
  display: flex;
  align-items: center;
}

.h_subnav-btn {
  column-gap: 1px;
}

.h_subnav-btn li a {
  background-color: var(--main);
  color: #FFF !important;
  font-weight: 500;
  padding: 1em;
}

.h_subnav-btn li a:hover {
  background-color: var(--dark);
}

.h_subnav-btn li a img.icon {
  margin-right: 10px;
  width: fit-content;
  vertical-align: middle;
}

.h_subnav-list {
  align-items: center;
}

.h_subnav-list li {
  margin-right: 2em;
}

.h_subnav-list li a {
  font-size: 13px;
}

#common-header .h_subnav-list li a:hover {
  color: var(--dark);
}

.h_subnav-list li a img.icon {
  margin-right: 5px;
  width: inherit;
}

.h_nav-other {
  background-color: var(--bgc1);
  display: flex;
  justify-content: center;
}

.h_nav-other ul {
  display: flex;
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
}

.h_nav-other li {
  width: calc(100% / 6);
  min-width: fit-content;
}

.h_nav-other a {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 30px;
  text-align: center;
  position: relative;
}

.h_nav-other li + li a::before {
  background-color: #D9D9D9;
  content: "";
  height: 1em;
  width: 1px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

#common-header .h_nav-other a:hover {
  color: var(--dark);
}

.h_nav-other a:hover .link-inline::before {
  transform: scale(1, 1);
}

.h_menu {
  display: flex;
}

.h_btn-wrap {
  display: flex;
  height: 100px;
}

.h_btn {
  height: 100%;
  width: 100px;
  cursor: pointer;
  transition: .3s all;
}

.h_btn button {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 7px;
  line-height: 1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative;
  transition: .3s all;
}

.h_btn-inner {
  height: 40px;
  width: 40px;
  position: relative;
}

.h_btn-inner span {
  background: #fff;
  display: block;
  height: 2px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  transition: .3s ease-out;
}

.h_btn .btn-sub {
  font-size: 13px;
  font-weight: 500;
  position: relative;
}

.h_btn .btn-sub::after {
  background-color: var(--main);
  content: "";
  height: 1px;
  width: 100%;
  position: absolute;
  bottom: -2px;
  left: 0;
  opacity: 0;
  transform-origin: left;
  transform: scaleX(0);
  transition: .3s;
}

.h_btn.btn-menu:not(.open) .btn-sub::after {
  background-color: transparent;
}

.h_btn:hover .btn-sub::after {
  opacity: 1;
  transform: scaleX(1);
}

.search-open .h_btn.btn-search,
.menu-open .h_btn.btn-menu {
  background-color: #F0F0F0;
}

.h_btn.btn-menu {
  background-color: var(--main);
  display: none;
  opacity: 0;
  transition: .4s;
}

.h_btn.btn-menu:not(.open):hover {
  background-color: var(--dark);
}

.btn-menu .h_btn-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 8px;
}

.btn-menu .btn-sub {
  color: #FFF;
}

.menu-open .btn-menu .btn-sub {
  color: var(--main);
}

.menu-open .btn-menu .h_btn-inner span {
  background: var(--main);
  transform-origin: center;
}

.btn-search button {
  color: var(--main);
}

.btn-search button:hover {
  row-gap: 5px;
}

.h_btn .search-img {
  max-width: 100%;
  height: auto;
}

.search-open .btn-search .h_btn-inner span {
  background-color: var(--main);
}

.h_btn.btn-search .btn-close {
  height: 100%;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
}

.h_btn.btn-search .top,
.h_btn.btn-search .bottom,
.menu-open .btn-menu .h_btn-inner span {
  width: 25px;
}
.h_btn.btn-search .top::before,
.h_btn.btn-search .bottom::before {
  content: none;
}
.h_btn.btn-search .top {
  top: calc(50% + 1px);
  transform: translateY(-50%) rotate(45deg);
}
.h_btn.btn-search .bottom {
  top: calc(50% - 1px);
  transform: translateY(-50%) rotate(-45deg);
}

.search-open .h_nav-search {
  opacity: 1;
  visibility: inherit;
}
.search-open .h_btn.btn-search .btn-close {
  opacity: 1;
  visibility: inherit;
}
.search-open .h_btn.btn-search .search-img {
  opacity: 0;
  visibility: hidden;
}

.search-close .h_nav-search {
  opacity: 0;
  visibility: hidden;
}
.search-close .h_btn.btn-search .btn-close {
  opacity: 0;
  visibility: hidden;
}
.search-close .h_btn.btn-search .search-img {
  opacity: 1;
  visibility: inherit;
}

.search-open .h_nav-search,
.search-open .search-img,
.search-open .btn-close,
.search-close .h_nav-search,
.search-close .search-img,
.search-close .btn-close {
  transition: .3s all;
}

.h_btn .top {
  transform: translateY(0) rotate(0deg);
}

.h_btn .bottom {
  transform: translateY(0) rotate(0deg);
}

/* 2回目のアニメーション */
.h_btn.open .middle {
  opacity: 0;
  transition: none;
}

.h_btn.open .top::before,
.h_btn.open .middle::before,
.h_btn.open .bottom::before {
  content: none;
}

.h_btn.open .top {
  transform: rotate(45deg);
  top: 10px;
}

.h_btn.open .bottom {
  transform: rotate(-45deg);
  bottom: 10px;
}

.gNav {
  padding: 20px 0 0;
  position: relative;
}

.gNav .gNav-list {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.gNav .gNav-list > li > a {
  display: block;
  font-size: 16px;
  color: var( --dark);
  padding: 0;
  position: relative;
  transition: .4s;
}

.gNav .gNav-list > li > a span,
.link-inline {
  position: relative;
}

.gNav .gNav-list > li > a span {
  display: inline-block;
  padding: 8px 30px 28px;
}

.gNav .gNav-list > li > a span::before,
.link-inline::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--main);
  transition: .3s all;
  transform-origin: left;
  transform: scale(0, 1);
}

.gNav .gNav-list li.currnt > a > span {
  color: var(--main);
}

.gNav .gNav-list li:hover > a > span::before,
.gNav .gNav-list li:has(.nav-lv2.active) > a > span::before {
  transform: scale(1, 1);
}

.h_gNav .gNav .nav-lv2 {
  background-color: var(--bgc1);
  display: flex;
  width: 100vw;
  position: absolute;
  left: 50%;
  z-index: 99;
  transform-origin: top;
  transform: translateX(-50%);
  visibility: hidden;
  opacity: 0;
  transition: .3s;
  overflow: hidden;
}

html:not(.menu-open) .gNav .nav-lv2.active {
  transform: translateX(-50%);
  visibility: visible;
  opacity: 1;
}

.h_gNav .gNav .nav-lv2 > * {
  transform: translateY(-100px);
  transition: .3s;
}

.h_gNav .gNav .nav-lv2.active  > * {
  transform: translateY(0);
}

html.navlv2-open .gNav .nav-lv2 {
  overflow-y: auto;
}

.gNav .nav-lv2 figure {
  flex-shrink: 0;
  margin-bottom: 0;
  width: 254px;
}

.gNav .nav-lv2 figure img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.gNav .nav-lv2 > div {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  padding-top: 40px;
  padding-bottom: 50px;
  width: 100%;
}

.nav-lv2 .navlv2-inner {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.h_gNav .gNav .nav-lv2 .navlv2-inner {
  padding-left: 40px;
  padding-right: 40px;
}

.h_gNav .gNav .nav-lv2 .navlv2-inner + .navlv2-inner {
  border-top: 1px solid #D9D9D9;
  padding-top: 30px;
}

.navlv2-top {
  font-size: 22px;
  line-height: 1.4;
  width: fit-content;
}

.navlv2-top a {
  color: var(--dark) !important;
  display: block;
  text-decoration: none;
  font-weight: bold;
  position: relative;
}

.navlv2-top a > span {
  padding-right: 40px;
}

.navlv2-top a::before {
  content: '';
  border: 1px solid #D9D9D9;
  border-radius: 50%;
  box-sizing: border-box;
  margin: auto 0;
  height: 30px;
  width: 30px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}

.navlv2-top a > span::before,
.navlv2-top a > span::after {
  background-image: url("../img/icon_arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  content: '';
  height: 20px;
  width: 20px;
  margin: auto 0;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 5px;
  display: block;
  transition: opacity .25s ease-out, transform .25s ease-out;
}

.navlv2-top a > span::before {
  transform: translateX(-100%);
  opacity: 0;
}

.navlv2-top a:hover {
  color: var(--main) !important;
}

.navlv2-top a:hover > span::before {
  transform: translateX(0);
  opacity: 1;
}

.navlv2-top a:hover > span::after {
  opacity: 0;
  transform: translateX(100%);
}

.gNav .nav-lv2 ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 10px;
}

.gNav .nav-lv2 > ul + * {
  margin-top: 50px;
  position: relative;
}

.gNav .nav-lv2 > ul + *::before {
  background-color: #D9D9D9;
  content: "";
  height: 1px;
  width: calc(100% + 80px);
  position: absolute;
  top: -25px;
  left: -40px;
}

.gNav .nav-lv2 ul li {
  width: calc((100% - (2em * 2)) / 3);
}

.gNav .navlv2-btn.wd-auto {
  width: auto;
}

.gNav .navlv2-btn > a {
  background-color: var(--bgc2);
  display: flex;
  font-size: 18px;
  padding: .5em 45px .5em 20px;
  position: relative;
  line-height: 1.38;
  align-items: center;
  min-height: 56px;
}

.gNav .navlv2-btn > a::before,
.gNav .navlv2-btn > a::after {
  background-image: url("../img/icon_arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  content: '';
  height: 20px;
  width: 20px;
  margin: auto 0;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 15px;
  transition: opacity .25s ease-out, transform .25s ease-out;
}

.gNav .navlv2-btn > a::before {
  transform: translateX(-100%);
  opacity: 0;
}

.gNav .navlv2-btn > a:hover {
  background-color: #E6E6DE;
}

.gNav .navlv2-btn > a:hover::before {
  transform: translateX(0);
  opacity: 1;
}

.gNav .navlv2-btn > a:hover::after {
  opacity: 0;
  transform: translateX(100%);
}

header#common-header .gNav .nav-lv2 ul li:not(.navlv2-btn) {
  line-height: 1.66;
  padding-left: 24px;
  position: relative;
}

header#common-header .gNav .nav-lv2 ul li:not(.navlv2-btn)::before {
  background-color: transparent;
  background-image: url("../img/icon_arrow_triangle.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  content: "";
  display: block;
  height: 24px;
  width: 24px;
  position: absolute;
  top: calc((1.66em - 24px) / 2);
  left: 0;
}

header#common-header .gNav .nav-lv2 ul li:not(.navlv2-btn) a:hover {
  color: var(--dark);
}

.navlv2-head {
  border-left: 3px solid var(--main);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  padding-left: 13px;
}

.gNav .navlv2-undergraduate > ul {
  border-bottom: 1px solid #D9D9D9;
  gap: 30px;
}

.gNav .navlv2-undergraduate > ul:nth-of-type(2) {
  padding-bottom: 30px;
}

.gNav .navlv2-undergraduate ul li {
  width: 100%;
}

.h_gNav .gNav .navlv2-undergraduate > ul:nth-of-type(1) {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-template-areas:
    "A B D E"
    "A C F G";
}

.h_gNav .gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(1) {
  grid-area: A;
}

.h_gNav .gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(2) {
  grid-area: B;
}

.h_gNav .gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(3) {
  grid-area: C;
}

.h_gNav .gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(4) {
  grid-area: D;
}

.h_gNav .gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(5) {
  grid-area: E;
}

.h_gNav .gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(6) {
  grid-area: F;
}

.h_gNav .gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(7) {
  grid-area: G;
}

.h_gNav .gNav .navlv2-undergraduate > ul:nth-of-type(2) > li {
  width: calc((100% - (30px * 3)) / 4);
}

.gNav .navlv2-undergraduate ul > li > a {
  font-size: 16px;
  line-height: 1.68;
  min-height: 54px;
}

.gNav .navlv2-undergraduate ul > li > a::before,
.gNav .navlv2-undergraduate ul > li > a::after {
  display: none;
}

.navlv2-undergraduate .navlv2-btn > a {
  pointer-events: none;
  padding: 7px 20px;
  min-height: inherit !important;
}

.gNav ul.nav-lv3 {
  flex-direction: column;
  flex-wrap: nowrap;
  margin-top: 15px;
}

.gNav ul.nav-lv3 li {
  line-height: 1.42;
  width: 100%;
}

header#common-header .gNav ul.nav-lv3 li::before {
  top: calc((1.42em - 24px) / 2);
}

.gNav ul.nav-lv3 li a {
  font-size: 14px;
}

ul.nav-lv3 .new {
  color: var(--main);
  font-weight: bold;
  margin-left: .5em;
}

ul.nav-lv3 .new sup {
  color: var(--normal);
  font-size: .6em;
  vertical-align: super;
  font-weight: normal;
  margin-left: 1px;
}

.navlv2-undergraduate .navlv2-notes {
  display: flex;
  justify-content: space-between;
  column-gap: 30px;
  padding-bottom: 30px;
}

.navlv2-undergraduate .navlv2-notes a {
  color: var(--dark) !important;
  font-weight: 500;
  text-decoration: underline;
}

.navlv2-undergraduate .navlv2-notes a:hover {
  text-decoration-color: var(--main) !important;
}

.navlv2-undergraduate .navlv2-notes p:not(.notes) {
  white-space: nowrap;
}

.navlv2-undergraduate .navlv2-notes .notes {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1em;
  font-size: 13px;
  line-height: 1.5;
}

.navlv2-undergraduate .navlv2-notes .notes span {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
}

.h_nav-search {
  background: #F0F0F0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
  width: 100%;
  padding: 52px 0 54px;
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  visibility: hidden;
  opacity: 0;
  z-index: 999;
}
.h_nav-search .search-form {
  display: flex;
  align-items: center;
  justify-content: center;
}
.h_nav-search .search-input {
  width: 820px;
  height: 45px;
  background: #fff;
  padding: 0 15px;
  font-size: 15px;
}
.h_nav-search .search-btn {
  width: 45px;
  height: 45px;
  background: #B41749;
}
.h_nav-search table,
.h_nav-search tr,
.h_nav-search th,
.h_nav-search td {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.h_nav-search .cse .gsc-search-button-v2,
.h_nav-search .gsc-search-button-v2 {
  width: 45px;
  height: 45px;
  background: #B41749;
  padding: 0;
  border: none;
  border-radius: 0;
}
.h_nav-search .gsc-search-button {
  padding: 0;
  width: 45px;
  height: 45px;
}
.h_nav-search .gsc-input {
  height: 45px !important;
}
.h_nav-search .gsc-input tbody {
  display: block;
}
.h_nav-search .gsc-input-box {
  border: none;
  padding: 0;
  border-radius: 0;
}
.h_nav-search svg {
  width: 15px;
  height: 15px;
}
.h_nav-search .gsib_a {
  padding: 0 15px !important;
}
.h_nav-search .gsib_b {
  display: none;
}
.h_nav-search .cse .gsc-search-button-v2:hover,
.h_nav-search .gsc-search-button-v2:hover {
  background: #B41749 !important;
}

.navlv2-open,
.menu-open {
  overflow: hidden;
}

.h_drawer {
  font-size: 15px;
  line-height: 100%;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 100px;
  right: 0;
  z-index: 999;
  transition: .4s ease-in-out;
  pointer-events: none;
}

.menu-open .h_drawer {
  pointer-events: auto;
}

.h_drawer-contents {
  background-color: #F2F2F0;
  box-shadow: -1px 0 4px rgba(0, 0, 0, .1);
  height: calc(100vh - 100px);
  height: calc(100dvh - 100px);
  padding: 25px 0 0;
  width: 100%;
  max-width: 400px;
  opacity: 0;
  overflow-y: auto;
  position: fixed;
  top: 100px;
  right: -100%;
  transition: .4s ease-in-out;
}

.menu-open .h_drawer-contents {
  opacity: 1;
  right: 0;
}

.menu-open .h_drawer,
.menu-close .h_drawer {
  transition: .4s all;
}

.h_drawer a {
  color: var( --dark);
}

.h_drawer .h_nav-inner {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.h_drawer .h_subnav-btn,
.h_drawer .h_subnav-list {
  column-gap: 10px;
}

.h_drawer .h_subnav-btn li,
.h_drawer .h_subnav-list li {
  margin: 0;
  width: 100%;
}

.h_subnav-btn li a,
.h_subnav-list li a {
  justify-content: center;
}

.h_drawer .h_drawer-top .h_subnav-list li:nth-of-type(n+3) {
  display: none;
}

.h_drawer .h_drawer-top .h_subnav-list li a {
  background-color: var(--bgc2);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  margin-top: 10px;
}

.h_drawer .gNav {
  padding-top: 30px;
}

.h_drawer .gNav-list {
  flex-direction: column;
  justify-content: flex-start;
}

.h_drawer .gNav-list > li + li {
  border-top: 1px solid #D9D9D9;
}

.h_drawer .gNav-list > li:not(.gnav-home) > a::before,
.h_drawer .gNav-list > li:not(.gnav-home) > a::after {
  background-color: var(--normal);
  content: "";
  height: 2px;
  width: 15px;
  margin: auto 0;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  transition: .4s;
}

.h_drawer .gNav-list > li:not(.gnav-home) > a::before {
  transform: rotate(-90deg);
}

.h_drawer .gNav-list > li:has(.nav-lv2.active) > a::before {
  transform: rotate(0deg);
}

.h_drawer .gNav .gNav-list > li > a span {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  padding: 20px 0;
  width: 100%;
}

.h_drawer .gNav-list > li:not(.gnav-home) > a span::before {
  display: none;
}

.h_drawer li.gnav-home a::before {
  content: '';
  border: 1px solid #D9D9D9;
  border-radius: 50%;
  box-sizing: border-box;
  margin: auto 0;
  height: 30px;
  width: 30px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}

.h_drawer .gNav-list li.gnav-home a > span::before,
.h_drawer .gNav-list li.gnav-home a > span::after {
  background-image: url("../img/icon_arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  content: '';
  height: 20px;
  width: 20px;
  margin: auto 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: auto;
  right: 5px;
  display: block;
  transition: opacity .25s ease-out, transform .25s ease-out;
}

.h_drawer .gNav-list li.gnav-home a > span::before {
  background-color: transparent;
  transform: translateX(-100%);
  opacity: 0;
}

.h_drawer li.gnav-home a:hover > span::before {
  transform: translateX(0);
  opacity: 1;
}

.h_drawer li.gnav-home a:hover > span::after {
  opacity: 0;
  transform: translateX(100%);
}

.h_drawer .gNav .nav-lv2,
.h_drawer .nav-lv2 figure {
  display: none;
}

.h_drawer .nav-lv2 > div {
  row-gap: 20px;
  padding-top: 10px;
  padding-bottom: 30px;
}

.h_drawer .navlv2-inner {
  row-gap: 25px;
  padding-left: 20px;
}

.h_drawer .navlv2-top {
  font-size: 18px;
  line-height: 1.7;
}

.h_drawer .navlv2-head {
  font-size: 15px;
}

.h_drawer .gNav .nav-lv2 ul {
  flex-direction: column;
  row-gap: 15px;
}

.h_drawer .gNav .navlv2-undergraduate > ul:nth-of-type(2) {
  padding-bottom: 15px;
}

.h_drawer .gNav .nav-lv2 ul li {
  width: 100%;
}

.h_drawer .navlv2-btn + .navlv2-btn {
  margin-top: -5px;
}

.h_drawer .navlv2-btn > a {
  font-size: 16px;
  min-height: 54px;
}

.h_drawer .navlv2-undergraduate > ul {
  padding-bottom: 15px;
}

.h_drawer .navlv2-undergraduate .nav-lv3 {
  padding-bottom: 10px;
}

.h_drawer .navlv2-undergraduate .navlv2-notes {
  flex-direction: column;
  row-gap: 15px;
  padding: 0 0 0 20px;
}

.h_drawer .navlv2-undergraduate .navlv2-notes p {
  font-size: 14px;
}

.h_drawer .navlv2-undergraduate .navlv2-notes .notes {
  font-size: 12px;
  width: auto;
}

.h_drawer .h_nav-other ul {
  background-color: #D9D9D9;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 20px;
  gap: 1px;
}

.h_drawer .h_nav-other li {
  background-color: var(--bgc2);
  width: calc((100% - 1px) / 2);
  min-width: inherit;
}

.h_drawer .h_nav-other li a {
  justify-content: center;
}

.h_drawer .h_nav-other li + li a::before {
  display: none;
}

.h_drawer-bottom {
  padding-bottom: 165px;
  position: relative;
}

.h_drawer-bottom .h_subnav-list li:nth-of-type(-n+2) {
  display: none;
}

.h_drawer-bottom .h_subnav-list li a {
  border: 1px solid #D9D9D9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
}

.h_drawer-bottom .h_subnav-list li:nth-of-type(4) a > span {
  width: 6em;
}

.h_drawer-bottom .h_nav-inner + .h_nav-inner {
  border-top: 1px solid #D9D9D9;
  margin-top: 30px;
  padding-top: 35px;
}

.h_drawer .f-menu ul {
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 10px;
  row-gap: 18px;
  margin-top: 20px;
}

.h_drawer .f-menu ul li {
  width: calc((100% - 10px) / 2);
}

.h_drawer .f-menu ul li a {
  font-size: 12px;
  line-height: 1.66;
}

header#common-header .h_drawer .f-menu ul li a:hover {
  color: var(--main);
}

.h_drawer .f-menu .f-menu-btn {
  position: absolute;
  bottom: 95px;
  left: 50%;
  transform: translateX(-50%);
}

.h_drawer .f-menu .f-menu-btn a {
  font-size: 13px;
  height: 50px;
  width: 145px;
}

header#common-header .h_drawer .f-menu .f-menu-btn:hover {
  color: var(--main);
}

.h_drawer .f-sns {
  flex-direction: column;
  row-gap: 24px;
}

.h_drawer .f-sns ul:nth-of-type(1) {
  margin-bottom: calc(30px - 24px);
  column-gap: 20px;
}

.h_drawer .f-sns a img {
  height: 35px;
  width: 35px;
}

.drawer-close {
  height: 60px;
  width: 100%;
  position: absolute;
  bottom: 0;
}

.drawer-close button {
  background-color: #FFF;
  color: var(--main);
  font-weight: 500;
  height: 100%;
  width: 100%;
}

.drawer-close button span {
  background-image: url("../img/icon_close.svg");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 1em;
  padding-left: calc(1em + 5px);
}

/* =======================================- */
/* ▼▼▼　PCのみ
/* =======================================- */

@media print, screen and (min-width: 1600px) {

  .gNav .nav-lv2 figure {
    width: 454px;
  }

}

@media print, screen and (min-width: 768px) {
  header#common-header .inner {
    max-width: 1280px;
    margin: 0 auto;
  }

  /* スクロール系 */
  .scroll_logo,
  .scroll_menu {
    display: none;
  }

  .scroll_logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0 30px;
  }

  .scroll_logo img {
    width: clamp(160px, 13.12vw, 210px);
  }

  .scroll_gnav {
    background: #fff;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, .15);
    display: flex;
    justify-content: space-between;
    padding: 0;
    position: fixed;
    z-index: 9999;
    top: -100px;
    left: 0;
    right: 0;
  }

  .scroll_gnav .h_btn.btn-menu {
    display: none;
    opacity: 0;
  }

  .scroll_gnav .gNav-list {
    justify-content: flex-end;
    align-items: center;
    padding-right: 30px;
  }

  .scroll_gnav .scroll_menu {
    display: flex;
  }

  .scroll_gnav .gNav-list > li {
    height: 100%;
  }

  .scroll_gnav .gNav-list > li > a {
    display: flex;
    align-items: center;
    font-size: clamp(15px, 1.2vw, 16px);
    height: 100%;
  }

  .scroll_gnav .gNav-list > li > a span {
    padding: 7px clamp(20px, 1.56vw, 30px);
    height: 100%;
    display: flex;
    align-items: center;
  }

  .scroll_gnav .btn-search button {
    border-left: 1px solid var(--bgc1);
  }

  .scroll_gnav-in {
    animation: scroll_nav_fade .4s forwards;
  }

  .scroll_gnav-out {
    animation: scroll_nav_fade-out .3s forwards;
  }

  .scroll_drawer {
    position: fixed;
    animation: scroll_drawer_fade .3s .1s forwards;
  }
}
@keyframes scroll_nav_fade {
  0% {
    top: -100px;
  }
  100% {
    top: 0;
  }
}
@keyframes scroll_nav_fade-out {
  0% {
    top: 0;
  }
  100% {
    top: -100px;
  }
}
@keyframes scroll_drawer_fade {
  0% {
    top: 0px;
  }
  100% {
    top: 100px;
  }
}

@media print, screen and (max-width: 1279px) {
  .head {
    justify-content: space-between;
  }

  .h_btn.btn-menu {
    display: block;
    opacity: 1;
  }

  .h_subnav-wrap {
    display: none;
  }

  .scroll_gnav .gNav-list > li > a {
    font-size: clamp(12px, 1vw, 16px);
  }

  .gNav .nav-lv2 figure {
    display: none;
  }

  .navlv2-undergraduate .navlv2-notes .notes {
    width: 37em;
  }
}

@media print, screen and (max-width: 1150px) {
  .scroll_gnav .gNav-list > li > a span {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media print, screen and (max-width: 1022px) {
  .f-gNav-block {
    padding-bottom: 50px;
  }

  .navlv2-undergraduate .navlv2-notes {
    flex-direction: column;
    row-gap: 20px;
  }

  .scroll_logo img {
    width: 210px;
  }

  .h_gNav .gNav:not(.scroll_gnav),
  .h_gNav .scroll_gnav .gNav-list {
    display: none;
  }

  .scroll_gnav .h_btn.btn-menu {
    display: block;
    opacity: 1;
  }
}

#___gcse_1,
#___gcse_0 {
  width: 100%;
  max-width: 820px;
}

.gsc-input {
  width: 100%;
  display: block;
}

.search-form {
  padding: 0 20px;
}

/* =======================================- */
/* ▼▼▼　SP
/* =======================================- */
@media screen and (max-width: 767px) {

  header#common-header .inner {
    height: auto !important;
  }
  .head {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 0 5px 0px #00000026;
  }

  .h_logo img {
    width: 183px;
  }

  /* メニューボタン */

  .h_btn-wrap {
    height: 60px;
  }

  .h_btn {
    width: 60px;
  }

  .h_btn button {
    row-gap: 3px;
  }

  .h_btn-inner {
    height: 25px;
    width: 25px;
  }

  .h_btn-inner span {
    height: 1.5px;
  }

  .h_btn .btn-sub {
    font-size: 12px;
  }

  .btn-menu .h_btn-inner {
    row-gap: 4px;
  }

  .h_btn.btn-search .top,
  .h_btn.btn-search .bottom,
  .menu-open .btn-menu .h_btn-inner span {
    width: 20px;
  }

  .h_btn.open .top {
    top: 5px;
  }

  .h_btn.open .bottom {
    bottom: 5px;
  }

  .h_nav-search {
    position: fixed;
    top: 50px;
    padding: 46px 0;
  }
  .h_nav-search .search-form {
    padding: 0 20px;
  }
  .h_nav-search .search-input {
    width: calc(100% - 45px);
    font-size: 14px;
  }
  .h_nav-search img {
    width: 15px;
    height: 15px;
  }
  .h_nav-search #___gcse_0 {
    width: 100%;
  }
  .h_nav-search .gsc-search-box > tbody > tr {
    display: flex;
  }
  .h_nav-search .gsc-input-box {
    padding: 0;
    width: 100%;
  }

  /* グローバルメニュー */
  .gNav {}

  .navlv2-undergraduate .navlv2-notes .notes {
    width: auto;
  }

  .scroll_gnav {
    display: none;
  }

.h_drawer-contents {
  top: 60px;
  height: calc(100vh - 60px);
  height: calc(100dvh - 60px);
}

}

@media print {
  .scroll_gnav {
    display: none;
  }
}