/* header */
.header {
  width: 100%;
  height: 59px;
  padding-top: 15px;
  border-bottom: 1px solid silver;
  background-color: #fff;
}
.header .inner {
  width: 1200px;
  margin-right: auto !important;
  margin-left: auto !important;
}
.header .logo {
  width: 103px;
  transition: opacity 0.25s ease;
  transition:
    all 0.25s ease,
    background-color 0.25s ease,
    opacity 0.25s ease,
    top 0.25s ease;
  opacity: 1;
  -ms-filter: none;
  filter: none;
}
.header .logo:hover {
  opacity: 0.65;
}
@media only screen and (max-width: 1200px) {
  .header {
    height: 59px;
    padding: 15px 0 0;
    border-bottom: 1px solid silver;
  }
  .header .inner {
    width: 100%;
  }
  .header .logo {
    position: relative;
    left: 10px;
    width: 100px;
  }
}

/* main */
.main {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  align-items: center;
}
.main:after {
  content: "";
  --x50vw: calc((100vw - var(--w-scrollbar, 0px)) / 2);
  position: absolute;
  top: 0;
  left: calc(50% - var(--x50vw, 50vw));
  z-index: -2;
  width: calc(100vw - var(--w-scrollbar, 0px));
  height: 100%;
  overflow: hidden;
  background-color: #fff;
}

/* common */
.lp-fz-20 {
  --fz: 20;
  --fz-lh: 1.6;
  font-size: calc(var(--fz) / var(--fz-root) * var(--font-ratio) * 1rem);
  line-height: var(--fz-lh);
}
.lp-fz-24 {
  --fz: 24;
  --fz-lh: 1.4;
  font-size: calc(var(--fz) / var(--fz-root) * var(--font-ratio) * 1rem);
  line-height: var(--fz-lh);
}
.lp-mt-5 {
  margin-top: calc(40 * var(--font-ratio) * 1px) !important;
}
.lp-mt-xl {
  margin-top: calc(80 * var(--font-ratio) * 1px) !important;
}
.lp-pb-10 {
  padding-bottom: calc(35 * var(--font-ratio) * 1px) !important;
}

@media (max-width: 576px) {
  .lp-fz-20 {
    --fz: 16;
  }
  .lp-fz-24 {
    --fz: 13;
    --fz-lh: 1.6;
  }
  .lp-mt-5 {
    margin-top: calc(8 * var(--font-ratio) * 1px) !important;
  }
  .lp-mt-xl {
    margin-top: calc(32 * var(--font-ratio) * 1px) !important;
  }
  .lp-pb-10 {
    padding-bottom: calc(12 * var(--font-ratio) * 1px) !important;
  }
}



/* mv */
.p-lp-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 25px 6.25vw 40px;
}
.p-lp-hero__main {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.p-lp-hero__title {
  margin: 0;
  text-align: center;
}
.p-lp-hero__title > span {
  display: block;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.5;
}
.p-lp-hero__break {
  display: none;
}
.c-hero-dept .title > span ~ span {
  margin-top: calc(24 * var(--font-ratio) * 1px);
}
.c-hero-dept .title > span.sm {
  font-size: clamp(
    calc(24 / var(--fz-root) * var(--font-ratio) * 1rem),
    3.3333333333vw,
    calc(24 / var(--fz-root) * var(--font-ratio) * 1rem)
  );
}
@media (max-width: 1200px) {
  .c-hero-dept .title > span.sm {
    font-size: clamp(
      calc(20 / var(--fz-root) * var(--font-ratio) * 1rem),
      3.3333333333vw,
      calc(20 / var(--fz-root) * var(--font-ratio) * 1rem)
    );
  }
}
@media (max-width: 767px) {
  .c-hero-dept__main {
    padding-bottom: 0;
  }
  .p-lp-hero__content {
    padding: 40px 0;
  }
  .p-lp-hero__break {
    display: block;
  }
  .c-hero-dept .title>span.sm {
      font-size: calc(14 / var(--fz-root) * var(--font-ratio) * 1rem);
  }
}

/* breadcrumb */
.site-breadcrumb__list {
  background-color: #fff;
}

/* about */
.p-lp-about__campus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.p-lp-about__campus-title::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #0b5bb5;
}
.p-lp-about__campus-link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 936 / 658;
  object-fit: cover;
  transition: opacity 0.2s;
}
.p-lp-about__campus-link:hover img {
  opacity: 0.8;
}

.p-lp-about__divider {
  position: relative;
  margin-top: -135px;
  height: 240px;
  pointer-events: none;
}
.p-lp-about__divider:after {
  content: "";
  position: absolute;
  top: 0;
  left: var(--bleed-left, calc(50% - 50vw));
  z-index: -1;
  width: var(--bleed-width, 100vw);
  height: 100%;
  background-color: #ecfcff;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.9) 0 1px,
      transparent 1px 14px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.9) 0 1px,
      transparent 1px 14px
    );
  clip-path: polygon(0 0, 50% 100%, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 576px) {
  .p-lp-about__divider {
    margin-top: -22px;
    height: 54px;
  }
}

/* dept */
.p-lp-dept {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  align-items: center;
}
.p-lp-dept:after {
  content: "";
  --x50vw: calc((100vw - var(--w-scrollbar, 0px)) / 2);
  position: absolute;
  top: 0;
  left: calc(50% - var(--x50vw, 50vw));
  z-index: -1;
  width: calc(100vw - var(--w-scrollbar, 0px));
  height: 100%;
  overflow: hidden;
  background-color: #ecfcff;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.9) 0 1px,
      transparent 1px 14px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.9) 0 1px,
      transparent 1px 14px
    );
}
@media (max-width: 576px) {
  .p-lp-dept {
    padding-top: 55px;
  }
}
.p-refine-department .checkbox-button:hover:not(:has(:checked)) {
  --_color: var(--c-base);
  --_bgc: var(--c-base-white);
  --_bdc: var(--c-base);
}

/* abroad */
.p-lp-abroad {
  background-color: #0071c1;
  text-align: center;
  color: #fff;
}
.p-lp-abroad__link {
  width: 100%;
}
.p-container__bottom:after {
  background-color: #0071c1;
}
.p-container__main:not(
  :has(> .p-section:last-child),
  :has(> .p-top-banner-section:last-child)
) {
  padding-bottom: 0 !important;
}
@media (any-hover: hover) and (pointer: fine) {
  .c-button:where(:any-link):hover {
    background-color: #060e31;
    border-color: #060e31;
  }
}

/* footer */
.footer .copy {
    font-size: 14px;
    line-height: 70px;
    text-align: center;
    color: #fff;
    background-color: #000;
}
@media only screen and (max-width: 1200px) {
.footer .copy {
    font-size: 12px
}
}

/* totop */
.totop {
  position: fixed;
  z-index: 1000;
  right: calc((100vw - 1200px) / 2);
  bottom: 24px;
  display: flex;
  display: flex;
  visibility: hidden;
  overflow: hidden;
  width: 57px;
  height: 57px;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.15);
  -o-box-pack: center;
  justify-content: center;
  -o-box-align: center;
  align-items: center;
}
.totop:hover {
  opacity: 0.6;
}
.totop.is-show {
  visibility: visible;
  opacity: 1;
  -ms-filter: none;
  filter: none;
}
.totop img {
  width: 16px;
  height: 9px;
}
.totop::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  transition:
    all 0.25s ease,
    background-color 0.25s ease,
    opacity 0.25s ease,
    top 0.25s ease;
  opacity: 0;
  background: 0 0;
  ointer-events: none;
}
.totop:hover::before {
  opacity: 0.6;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0)
  );
}
@media only screen and (max-width: 1200px) {
  .totop {
    position: fixed;
    right: 24px;
    bottom: 54px;
    width: 83px;
    height: 83px;
    background-color: rgba(0, 0, 0, 0.6);
  }
  .totop img {
    width: 23px;
    height: 13px;
  }
}

/* shutto */
html body .stt-lang-select.br {
  top: 9px !important;
  right: 0 !important;
  bottom: auto !important;
  left: auto !important;
  margin-top: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition-property: margin-top, opacity !important;
  transition-duration: 0.7s, 0.2s !important;
  transition-delay: 0.1s, 0s !important;
  transition-timing-function: ease, ease !important;
  will-change: margin-top, opacity;
}
html body .stt-lang-select.br.is-scroll-hidden {
  margin-top: var(--stt-hide-distance, -300px) !important;
  pointer-events: none !important;
}
html body .stt-lang-select.br.is-menu-open {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition-delay: 0.1s, 0s !important;
}