#common-footer {
  overflow: inherit;
}

#common-footer a {
  text-decoration-color: transparent;
  transition: .3s;
}

#common-footer .inner {
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 !important;
}

.foot-contents {
  background-color: #FFF;
  padding: 0 20px;
  position: relative;
}

.f-gNav {
  padding: 120px 20px;
  position: relative;
}

.f-gNav-bg {
	clip-path: inset(0);
	height: 100%;
	width: 100vw;
	min-width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

.f-gNav-bg::before {
  background-image: url(../img/bg_footer_nav.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
	height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

.f-gNav a {
  color: var(--normal);
}

.f-gNav a:hover {
  color: var(--dark);
}

.f-gNav .navlv2-undergraduate > ul:nth-of-type(2) {
  padding-bottom: 30px;
}

.f-gNav .gNav-list > li > a {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 40px;
  display: block;
}

.f-gNav .navlv2-head {
  font-size: 16px;
}

.f-gNav .navlv2-undergraduate .navlv2-btn > a {
  background-color: var(--bgc1);
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 1em;
  margin-bottom: 1em;
}

.f-gNav .navlv2-inner:not(.navlv2-undergraduate) > ul,
.f-gNav .nav-lv3 {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.f-gNav .navlv2-inner:not(.navlv2-undergraduate) > ul li,
.f-gNav .nav-lv3 > li {
  padding-left: 24px;
  position: relative;
}

.f-gNav .navlv2-inner:not(.navlv2-undergraduate) > ul li::before,
.f-gNav .nav-lv3 > li::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;
}

.f-gNav .navlv2-inner:not(.navlv2-undergraduate) > ul li a,
.f-gNav .nav-lv3 li a {
  font-size: 13px;
  line-height: 1.8;
}

.f-gNav .navlv2-undergraduate .navlv2-notes {
  padding-bottom: 0;
}

.foot-contents.f-nav {
  background-color: var(--bgc1);
  padding-top: 60px;
  padding-bottom: 60px;
}

.f-nav-list .nav-lv2 > figure,
.f-nav-list .navlv2-top,
.f-nav-list .navlv2-head {
  display: none;
}

.f-nav-list .f-hide {
  display: none !important;
}

.f-nav-list li a {
  color: var(--normal);
  display: block;
  text-decoration: underline;
  text-decoration-color: transparent;
}

.f-nav-list li a:hover {
  color: var(--dark);
  text-decoration-color: var(--dark) !important;
}

.f-nav-list > li > a {
  border-bottom: 1px solid #CBCBBB;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  position: relative;
}

.f-nav-list > li > a::before {
  border-color: transparent transparent transparent #b7183f;
  border-style: solid;
  border-width: 4.5px 0px 4.5px 5px;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  top: 7px;
  left: 0;
}

.f-nav-list .nav-lv2 > div,
.f-nav-list .nav-lv2 ul,
.f-nav-list .navlv2-inner {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.f-nav-list .nav-lv2 li a {
  font-size: 13px;
  line-height: 1.5;
}

.foot-contents.f-nav-other {
  border-bottom: 1px solid #D9D9D9;
  padding-top: 15px;
  padding-bottom: 15px;
}

.f-nav-other .h_nav-other {
  background: none;
}

.f-nav-other .h_nav-other li {
  width: auto;
}

.f-nav-other .h_nav-other a {
  justify-content: center;
  color: var(--normal);
}

.f-nav-other .h_nav-other a:hover {
  color: var(--main);
}

.f-outline {
  border-bottom: 1px solid #D9D9D9;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 50px 0 40px;
}

.f-addr address {
  font-size: 13px;
  font-style: normal;
  line-height: 1.92;
  margin-left: 30px;
}

.f-outline .h_subnav-btn {
  column-gap: 15px;
  margin: 0 0 0 auto;
}

.f-outline .h_subnav-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  height: 66px;
  width: clamp(200px, 14.81vw, 237px);
}

.f-outline .h_subnav-btn li a img.icon {
  height: 25px;
}

.f-links {
  display: flex;
  align-items: center;
  padding-bottom: 50px;
}

.f-links .h_subnav-list li:nth-of-type(n+3) {
  display: none;
}

.f-links .h_subnav-list a {
  color: var(--normal);
}

.f-links .h_subnav-list a:hover {
  color: var(--dark);
}

.f-sns {
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.f-sns ul {
  display: flex;
  align-items: center;
  column-gap: 12px;
}

.f-sns ul:nth-of-type(1) {
  margin-right: 8px;
}

.f-sns ul a {
  display: block;
}

.f-sns ul a:hover {
  opacity: .6;
}

.f-sns ul a img {
  width: 25px;
}

#pagetop {
  margin: 0 0 0 auto;
}

[id^="pagetop"] a {
  font-size: 15px;
  color: var(--normal);
  display: flex;
  align-items: center;
  column-gap: 5px;
}

[id^="pagetop"] a:hover {
  color: var(--main);
}

[id^="pagetop"] a img {
  width: 24px;
}

#pagetopClone {
  position: fixed;
  bottom: 15px;
  right: 20px;
  visibility: hidden;
  opacity: 0;
  transition: .3s;
  transform: translateY(10px);
  z-index: 999;
}

#pagetopClone.active {
  visibility: visible;
  opacity: .8;
  transform: translateY(0);
}

#pagetopClone a img {
  background: radial-gradient(circle, rgba(255, 255, 255, .8) 50%, rgba(255, 255, 255, 0) 50%);
  border-radius: 100%;
}

.f-school {
  background-color: var(--main);
  padding: 50px 20px;
}

.f-school-list {
  display: flex;
  justify-content: center;
  column-gap: clamp(50px, 5vw, 80px);
}

.f-school-list a {
  display: block;
}

.f-school-list a:hover {
  opacity: .7;
}

.switchin-area {
  background: var(--normal);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
}

.switchin-area:not(.active-switching) {
  display: none;
}

.switchin-area > div {
  color: #D9D9D9;
  font-size: 13px;
  line-height: 1.53;
  padding: 0 15px;
}

.switchin-area > div + div {
  margin-left: 30px;
  position: relative;
}

.switchin-area > div + div::after {
  background-color: #696969;
  content: "";
  height: 100%;
  width: 1px;
  position: absolute;
  top: 0;
  left: -15px;
}

.f-menu-wrap {
  background-color: #FFF;
  padding: 20px;
}

.f-menu-wrap * {
  font-size: 12px;
  line-height: 1.66;
}

.f-menu-wrap a {
  color: var(--normal);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: .3s;
}

.f-menu-wrap a:hover {
  color: var(--main);
}

.f-menu-wrap .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.f-menu,
.f-menu ul {
  display: flex;
  align-items: center;
  column-gap: 30px;
}

@media print, screen and (max-width: 1000px) {
  .f-menu ul {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 400px;
    row-gap: 10px;
  }
}

.f-menu ul li a:hover {
  color: var(--main);
  text-decoration-color: var(--main) !important;
}

.f-menu-btn a {
  border: 1px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  width: 95px;
}


/* =======================================- */
/* ▼▼▼　PCのみ
/* =======================================- */

@media print, screen and (min-width: 768px) {

  .foot-inner {
    margin: 0 auto;
    width: 82.64%;
  }

  .f-gNav-block {
    background-color: #FFF;
    margin: 0 auto;
    padding: 50px 20px 60px;
    width: 90%;
    max-width: 1400px;
  }

  .f-gNav .gNav-list > li > a[href^="/ja/undergraduate/"] {
    pointer-events: none;
  }

  .f-gNav .gNav-list > li:not(:has(a[href^="/ja/undergraduate/"])) {
    display: none;
  }

  .f-gNav .navlv2-top {
    display: none;
  }

  .f-gNav .navlv2-undergraduate > ul {
    border-bottom: 1px solid #D9D9D9;
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 20px;
  }

  .f-gNav .navlv2-undergraduate > ul > li {
    width: calc((100% - 30px) / 2);
  }

  .f-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";
  }

  .f-gNav .navlv2-undergraduate > ul:nth-of-type(1) > li {
    max-width: inherit;
    width: inherit;
  }

  .f-gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(1) {
    grid-area: A;
  }

  .f-gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(2) {
    grid-area: B;
  }

  .f-gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(3) {
    grid-area: C;
  }

  .f-gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(4) {
    grid-area: D;
  }

  .f-gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(5) {
    grid-area: E;
  }

  .f-gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(6) {
    grid-area: F;
  }

  .f-gNav .navlv2-undergraduate > ul:nth-of-type(1) > li:nth-of-type(7) {
    grid-area: G;
  }

  .f-nav-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-template-areas:
      "A B C D"
      "A E C D";
    gap: 30px;
  }

  .f-nav-list > li:nth-of-type(1) {
    grid-area: A;
  }

  .f-nav-list > li:nth-of-type(3) {
    grid-area: B;
  }

  .f-nav-list > li:nth-of-type(2) {
    display: none;
  }

  .f-nav-list > li:nth-of-type(4) {
    grid-area: C;
  }

  .f-nav-list > li:nth-of-type(5) {
    grid-area: D;
  }

  .f-nav-list > li:nth-of-type(6) {
    grid-area: E;
  }

}

@media print, screen and (min-width: 1023px) {

  .f-gNav .navlv2-undergraduate > ul > li {
    max-width: calc((100% - (30px * 3)) / 4);
    width: 100%;
  }

  .f-gNav .navlv2-undergraduate .navlv2-notes .notes {
    width: 37em;
  }

}

@media print, screen and (max-width: 1022px) and (min-width: 768px) {

  .f-gNav .navlv2-undergraduate > ul:nth-of-type(1) {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-template-areas:
      "A B"
      "A C"
      "D E"
      "F G";
  }

  .f-nav-list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-template-areas:
      "A B"
      "A D"
      "C D"
      "C E";
    row-gap: 0;
    margin: 0 auto;
    max-width: 762px;
  }

  .f-nav-list > li > a {
    margin-bottom: 20px;
  }

}

@media print, screen and (max-width: 1022px) {

  .foot-contents.f-nav-other .inner {
    padding: 0;
  }

  .f-nav-other .h_nav-other a {
    padding: 0 clamp(20px, 2.9vw, 30px);
  }

  .f-outline {
    flex-direction: column;
    row-gap: 30px;
  }

  .f-addr address {
    margin: 10px 0 0;
    text-align: center;
    font-weight: normal;
  }

  .f-outline .h_subnav-btn {
    margin: 0;
  }

  .f-outline .h_subnav-btn a {
    width: 237px;
  }

  .f-links {
    flex-direction: column;
    row-gap: 30px;
  }

  #pagetop {
    margin: 0;
  }

  .f-school-list {
    flex-wrap: wrap;
    column-gap: 80px;
    row-gap: 40px;
    max-width: 520px;
    margin: 0 auto;
  }

  .f-menu-wrap .inner {
    flex-direction: column-reverse;
    row-gap: 20px;
  }

}

/* =======================================- */
/* ▼▼▼　SP
/* =======================================- */
@media screen and (max-width: 767px) {

  .f-gNav {
    padding: 240px 0 0;
  }
  
  .f-gNav-bg {
    height: 240px;
  }

  .f-gNav-bg::before {
    position: absolute;
  }

  .f-gNav-block {
    background-color: #FFF;
    padding: 0;
    width: 100%;
  }

  .f-gNav .nav-lv2 > figure {
    display: none;
  }

  .f-gNav .gNav-list {
    border-bottom: 1px solid #D9D9D9;
  }

  .f-gNav .gNav-list > li:not(:first-of-type) {
    border-top: 1px solid #D9D9D9;
  }

  .f-gNav .gNav-list > li > a {
    font-weight: 500;
    margin: 0;
    padding: 19px 30px 20px 20px;
    position: relative;
  }

  .f-gNav .gNav-list > li > a::before,
  .f-gNav .gNav-list > li > a::after {
    background-color: var(--normal);
    content: "";
    height: 2px;
    width: 15px;
    margin: auto 0;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 30px;
    transition: .4s;
  }

  .f-gNav .gNav-list > li > a::before {
    transform: rotate(-90deg);
  }

  .f-gNav .gNav-list > li:has(.nav-lv2.active) > a::before {
    transform: rotate(0deg);
  }

  .f-gNav .gNav-list > li .nav-lv2 {
    display: none;
  }

  .f-gNav .nav-lv2 {
    padding: 0 20px 25px 40px;
  }

  .f-gNav .nav-lv2 .navlv2-inner {
    row-gap: 20px;
  }

  .f-gNav .navlv2-top {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.7;
  }

  .f-gNav .navlv2-top a {
    position: relative;
  }

  .f-gNav .navlv2-top a span {
    font-weight: 500;
  }

  .f-gNav .navlv2-inner + .navlv2-inner {
    margin-top: 8px;
  }

  .f-gNav .navlv2-inner + .navlv2-inner .navlv2-head:first-child {
    margin-top: 12px;
  }

  .f-gNav .navlv2-undergraduate > ul {
    border-bottom: 1px solid #D9D9D9;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    margin-bottom: 10px;
    padding-bottom: 20px;
  }

  .f-gNav .navlv2-undergraduate > ul:nth-of-type(2) {
    padding-bottom: 20px;
  }

  .navlv2-undergraduate .navlv2-notes p:not(.notes) {
    font-size: 13px;
  }

  .f-nav,
  .f-nav-other {
    display: none;
  }

  .f-nav-other .h_nav-other {
    flex-wrap: wrap;
  }

  .f-outline {
    border-bottom: none;
    flex-direction: column;
    row-gap: 20px;
    margin-bottom: 0;
    padding: 40px 0 0;
  }

  .f-addr address {
    margin: 0 0 6px;
  }

  .f-outline .h_subnav-btn {
    column-gap: 10px;
    margin: 0 0 10px;
    width: 100%;
  }

  .f-outline .h_subnav-btn li {
    width: calc((100% - 10px) / 2);
  }

  .f-outline .h_subnav-btn a {
    font-size: 15px;
    height: 60px;
    width: 100%;
  }

  .f-outline .h_subnav-btn li a img.icon {
    height: 20px;
  }

  .f-links {
    padding-bottom: 30px;
  }

  .f-links,
  .f-sns {
    flex-direction: column;
  }

  .f-links .h_subnav-list {
    column-gap: 10px;
    width: 100%;
    }

  .f-links .h_subnav-list li {
    margin: 0;
    width: 100%;
  }

  .f-links .h_subnav-list a {
    background-color: var(--bgc2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    height: 60px;
}

  .f-school {
    padding: 30px 20px;
  }

  .f-school-list {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 25px;
    row-gap: 30px;
    max-width: 360px;
  }

  .f-menu-wrap .inner {
    justify-content: center;
  }

  #common-footer .f-menu {
    display: none;
  }

  .f-sns {
    flex-direction: column;
    row-gap: 24px;
  }

  .f-sns ul:nth-of-type(1) {
    margin: 0 0 calc(30px - 24px);
    column-gap: clamp(15px, 5vw, 20px);
  }

  .f-sns a img {
    height: 35px;
    width: 35px;
  }

  .f-school-list a img {
    height: 25px;
  }

  #pagetop {
    position: absolute;
  }

  [id^="pagetop"] {
    bottom: 15px !important;
    right: 10px !important;
  }

  [id^="pagetop"] a span {
    display: none;
  }

  [id^="pagetop"] a img {
    width: 50px;
  }

}