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

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
root設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

*:root {
  /*幅1280pxの時に1文字10pxとなる値 最小値10px*/
  font-size: 10px;
  /* font-size: 10px; */
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 600;
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 1;
  /*自動カーニング*/
  /* font-feature-settings: "palt"; */
  /*両端揃え*/
  text-align: justify;
  /* ---------- */
  /* 変数 */
  /* フォント */
  --fsize_bace: 1.6rem;
  --fsize_xs: calc(var(--fsize_m) * 0.75); /* 12px */
  --fsize_s: calc(var(--fsize_m) * 0.875); /* 14px */
  --fsize_m: 1.8rem; /* 18px 基準*/
  --fsize_l: calc(var(--fsize_m) * 1.125); /* 18px */
  --fsize_xl: calc(var(--fsize_m) * 1.25); /* 20px */
  --fsize_xxl: calc(var(--fsize_m) * 1.5); /* 24px */
  --fsize_xxxl: calc(var(--fsize_m) * 1.75); /* 28px */

  /* 色 */
  --col-blue: #6294d7;
  --col-light-green: #41d6c4;
  --col-light-gray: #b5b5b5;
  --col-gray: #777;
  --col-dark-gray: #313131;
  --col-black: #000;
  --grad-green_blue: linear-gradient(90deg, #3aefa4 0%, #65c1ec 99.68%);
}

@media screen and (max-width: 768px) {
  /*幅768pxの時に1文字10pxとなる値*/
  /* *:root {
    font-size: 1.30208vw;
  } */
}

@media screen and (max-width: 480px) {
  /*幅375pxの時に1文字10pxとなる値*/
  *:root {
    font-size: 2.6667vw;
    --fsize_xs: 1rem;
    --fsize_s: 1.2rem;
    --fsize_m: 1.4rem;
    --fsize_l: 1.6rem;
    --fsize_xl: 1.8rem;
    --fsize_xxl: 2rem;
    --fsize_xxxl: 2.4rem;
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
noscript
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

noscript {
  display: block;
  font-size: var(--fsize_m);
  padding: 1em;
  background-color: #ff0;
  text-align: center;
  line-height: 2;
  position: relative;
  z-index: 10000000;
  width: auto;
  color: #000;
  word-break: keep-all;
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
font設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.font-mintyo {
  font-family: "Noto Serif JP", serif;
}
.font-hlv {
  /* Helvetica LT Pro */
  font-family: "helvetica-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;

  &.italic {
    font-style: italic;
  }
  &.light {
    font-weight: 300;
  }
  &.bold {
    font-weight: 700;
  }
}
.font-cormo {
  font-family: "Cormorant Garamond", serif;
}
.font-source-serif {
  font-family: "Source Serif 4", serif;
  font-weight: 500;
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
表示制御
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

/*PCで消す*/
.pc_hide {
  display: none;

  @media screen and (max-width: 480px) {
    display: block;
  }
}

/*SPで消す*/
@media screen and (max-width: 480px) {
  .sp_hide {
    display: none;
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
リンク設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

/*リンク*/

a {
  text-decoration: none;
  transition: all 0.2s ease;
  text-decoration: none;

  &:visited {
  }

  &:hover {
    opacity: 0.8;
  }

  &:active {
    opacity: 0.5;
  }
}

/*PCでリンクを殺す*/
@media screen and (min-width: 481px) {
  a.disabled {
    pointer-events: none;

    &:hover,
    &:active {
      opacity: 1 !important;
    }
  }
}

/*SPでリンクを殺す*/
@media screen and (max-width: 480px) {
  a.sp_disabled {
    pointer-events: none;

    &:hover,
    &:active {
      opacity: 1 !important;
    }
  }
}

/*--------------------*/
/* ボタン */

.button_wrap {
  &.flex-center {
    display: flex;
    justify-content: center;
    @media screen and (max-width: 480px) {
      flex-direction: column;
      align-items: center;
    }
  }
  &.flex-end {
    display: flex;
    justify-content: flex-end;
  }
  .button {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    justify-content: space-between;
    &.bg-white {
      background-color: #fff;
    }

    /* アイコン・矢印 */
    &.arrow {
      &.arrow-right {
        &::after {
          content: "";
          display: block;
          background-repeat: no-repeat;
          flex-shrink: 0;
          width: 1.6rem;
          aspect-ratio: 1/1;
          background-image: url(../img/common/arrow-black.svg);
          justify-self: flex-end;
        }
      }
      &.arrow-left {
        &::before {
          content: "";
          display: block;
          background-repeat: no-repeat;
          flex-shrink: 0;
          width: 1.6rem;
          aspect-ratio: 1/1;
          transform: scale(-1, 1);
          background-image: url(../img/common/arrow-black.svg);
        }
      }
      &.arrow-blue {
        &::after {
          background-image: url(../img/common/arrow-blue.svg);
        }
      }
      &.arrow-white {
        &::after {
          background-image: url(../img/common/arrow-white.svg);
        }
      }
    }
    &.icon {
      &::before {
        content: "";
        display: block;
        background-repeat: no-repeat;
        flex-shrink: 0;
      }
    }
    /* テキスト */
    span {
      line-height: 1.3;
      &.text-left {
        width: 100%;
        text-align: left;
      }
    }
    /* ボーダー */
    &.bd-gray {
      border: 1px solid var(--col-light-gray);
      border-radius: 0.8rem;
      color: var(--col-dark-gray);
      gap: 1rem;
      &.size-l {
        font-size: 2rem;

        letter-spacing: 0.16em;
        padding: 0 1.5em;
        width: 100%;
        max-width: 34.3rem;
        height: 9.4rem;
        @media screen and (max-width: 480px) {
          font-size: 1.6rem;
          height: 6rem;
        }
      }
      &.icon {
        &::before {
          width: 2.2rem;
          aspect-ratio: 1/1;
        }
        &.icon-lupe {
          &::before {
            background-image: url(../img/common/icon-lupe.svg);
          }
        }
        &.icon-board {
          &::before {
            background-image: url(../img/common/icon-board.svg);
          }
        }
        &.icon-graph {
          &::before {
            background-image: url(../img/common/icon-graph.svg);
          }
        }
      }
    }
    &.bd-black {
      border: 2px solid #000;
      border-radius: 0.4rem;
      color: var(--col-dark-gray);
      justify-content: center;
      &.size-l,
      &.size-m {
        font-size: 2.4rem;
        letter-spacing: 0.1em;
        width: 100%;
        @media screen and (max-width: 480px) {
          font-size: 1.6rem;
        }
      }
      &.size-l {
        padding: 0 3rem;
        gap: 1.6rem;
        max-width: 46.3rem;
        height: 11rem;
        @media screen and (max-width: 480px) {
          height: 6rem;
        }
        &.icon {
          &::before {
            width: 4.2rem;
            aspect-ratio: 1/1;
          }
          &.icon-build {
            &::before {
              background-image: url(../img/common/icon-build.svg);
            }
          }
          &.icon-pair {
            &::before {
              background-image: url(../img/common/icon-pair.svg);
            }
          }
        }
      }
      &.size-m {
        max-width: 33.2rem;
        gap: 1.2rem;
        height: 8rem;
        @media screen and (max-width: 480px) {
          height: 4.8rem;
        }
        &.icon {
          &::before {
            width: 2.8rem;
            aspect-ratio: 1/1;
          }
          &.icon-microscope {
            &::before {
              background-image: url(../img/common/icon-microscope.svg);
            }
          }
          &.icon-file {
            &::before {
              background-image: url(../img/common/icon-file.svg);
            }
          }
        }
      }
      &.size-s,
      &.size-ss {
        font-size: 1.6rem;

        width: 100%;
        @media screen and (max-width: 480px) {
          font-size: 1.4rem;
        }
      }
      &.size-s {
        max-width: 16rem;
        gap: 0.8rem;
        height: 4.8rem;
      }
      &.size-ss {
        width: auto;
        padding: 0 1.6rem;
        gap: 0.6rem;
        height: 4.2rem;
        &.icon {
          &::before {
            width: 2.8rem;
            aspect-ratio: 1/1;
          }
          &.icon-microscope {
            &::before {
              background-image: url(../img/common/icon-microscope.svg);
            }
          }
          &.icon-file {
            &::before {
              background-image: url(../img/common/icon-file.svg);
            }
          }
        }
        &.link {
          &::after {
            content: "";
            display: block;
            background-repeat: no-repeat;
            width: 2.4rem;
            aspect-ratio: 1/1;
            background-image: url(../img/common/icon-link.svg);
          }
        }
        &.pdf {
          &::before {
            content: "";
            display: block;
            background-repeat: no-repeat;
            width: 2.4rem;
            aspect-ratio: 24/33;
            background-image: url(../img/common/icon-pdf.svg);
          }
          @media screen and (max-width: 480px) {
            &::before {
              width: 2rem;
            }
          }
        }
      }
    }
    &.bd-blue {
      border: 1px solid var(--col-blue);
      border-radius: 0.4rem;
      color: var(--col-blue);
      justify-content: center;
      height: 9.6rem;
      padding: 0 1.6rem;
      span {
        width: 100%;
        text-align: center;
      }
      &.disabled {
        border-color: var(--col-light-gray);
        color: var(--col-light-gray);
      }
      &.size-m {
        font-size: var(--fsize_l);
        letter-spacing: 0.1em;
        width: 100%;
        gap: 1.2rem;
        @media screen and (max-width: 480px) {
          font-size: 1.6rem;
          height: 4.8rem;
        }
      }
      &.size-s {
        font-size: var(--fsize_m);
        height: 5rem;
        min-width: 5rem;
        @media screen and (max-width: 480px) {
          height: 2em;
          min-width: 2em;
          padding: 0 1rem;
        }
      }
    }
    &.bd-white {
      border: 2px solid #fff;
      border-radius: 0.4rem;
      color: #fff;
      justify-content: center;
      background-color: rgba(0, 0, 0, 0.3);
      &.size-ss {
        font-size: 1.6rem;

        width: 100%;
        @media screen and (max-width: 480px) {
          font-size: 1.4rem;
        }
      }
      &.size-ss {
        width: auto;
        padding: 0 1.6rem;
        gap: 0.6rem;
        height: 4.2rem;
      }
    }
  }
}
/* 入局についてはこちら */
div#top_contact_banner {
  position: fixed;
  right: 0;
  top: 50vh;
  transform: translateY(-50%);
  z-index: 50;
  font-size: clamp(1.6, 1.8vw, 2.4rem);
  a {
    display: flex;
    width: 3em;
    height: 13.5em;

    background: linear-gradient(100.9deg, #48b7ea 1.75%, #3aefa4 96.6%);

    writing-mode: vertical-rl;
    font-size: var(--fsize_xxl);
    letter-spacing: 0.1em;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 0.4rem 0 0 0.4rem;
    @media screen and (max-width: 480px) {
      width: 4.8rem;
      height: 21.8rem;
      letter-spacing: normal;
      font-size: var(--fsize_xl);
    }
  }
}


/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ページトップボタン設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.pagetop_jump {
  position: fixed;
  right: 0.5rem;
  bottom: 0.5rem;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
  z-index: 100;
  width: 4rem;
  height: 4rem;

  &.on {
    visibility: visible;
    opacity: 1;
  }

  a {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    position: relative;
    font-size: 0;

    &::after {
      content: "";
      position: absolute;
      display: block;
      top: 50%;
      left: 50%;
      width: 1rem;
      height: 1rem;
      border: 1px solid #fff;
      border-bottom: none;
      border-left: none;
      transform: translate(-50%, -25%) rotate(-45deg);
    }

    /*PC版のみhoverを付与*/

    @media screen and (min-width: 769px) {
      &:hover {
        opacity: 0.7;
        transition: 0.2s;
      }
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
画像
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

img {
  width: 100%;
  height: auto;

  &.ojf_cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
  }

  &.ojf_contain {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
  }
}

.ojf_cover_wrap {
  > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
  }
}

.ojf_contain_wrap {
  > img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ローディング画面
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease-out;
  .loader {
    position: relative;
    width: min(20%, 120px);
    aspect-ratio: 1/1;
    &::before {
      content: "";
      background-image: url(../img/common/logo-oita_university.svg);
      background-size: contain;
      background-position: center center;
      background-repeat: no-repeat;
      display: block;
      position: absolute;
      top: calc(50% - 4px);
      left: 50%;
      transform: translate(-50%, -50%);
      width: 70%;
      aspect-ratio: 1/1;
    }
    div.progress {
      position: absolute;
      bottom: 0;
      height: 4px;
      width: 100%;
      --c: no-repeat linear-gradient(#999 0 0);
      background: var(--c), var(--c), #ccc;
      background-size: 60% 100%;
      animation: l16 3s infinite;
    }
  }
}
@keyframes l16 {
  0% {
    background-position:
      -150% 0,
      -150% 0;
  }
  66% {
    background-position:
      250% 0,
      -150% 0;
  }
  100% {
    background-position:
      250% 0,
      250% 0;
  }
}

#loading-screen {
  &.fade-out {
    opacity: 0;
  }
}
#page_wrap {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  &.visible {
    opacity: 1;
  }
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
スムーズスクロール
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 14.2rem;
  @media screen and (max-width: 480px) {
    scroll-padding-top: 5.6rem;
  }
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ページ設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
body {
  #page_wrap {
    background-color: #f3f3f3;
    min-width: 320px;

    @media screen and (max-width: 1280px) {
      /* header.cssの#headerの高さと連動 */
      padding-top: 4.8rem;
    }

    /*--------------------*/
    /* 基本の幅 */
    .base_wrap {
      padding-left: 2rem;
      padding-right: 2rem;
      max-width: 1102px;
      margin: auto;
    }
  }
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
404
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
body.error404 {
  section.pagenotfound {
    h1 {
      font-size: var(--fsize_l);
      line-height: 2;
      text-align: center;
      margin: 2em 0;
    }

    p {
      font-size: var(--fsize_m);
      line-height: 2;
      text-align: center;
      margin: 1em 0;
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
パン屑設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

/*パン屑*/
.pankuzu_wrap {
  font-size: var(--fsize_s);

  .pankuzu {
    a {
      &:visited {
      }
    }
  }
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
投稿のナビゲーション
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
.pagination_wrap,
.post_nav_wrap {
  margin-top: 8rem;
  padding: 0 2rem;
  @media screen and (max-width: 480px) {
    margin-top: 4rem;
  }
}
/* 投稿 */
.post_nav_wrap {
  ul {
    display: flex;
    justify-content: center;
    gap: 1rem;
    li.archive {
      a.button {
        &.size-s {
          min-width: 14.8rem;
          @media screen and (max-width: 480px) {
            min-width: auto;
          }
        }
      }
    }
  }
}

/* アーカイブ */
.pagination_wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  @media screen and (max-width: 480px) {
    gap: 0.6rem;
  }
  .pagination_numbers {
    display: flex;
    justify-content: center;
    gap: 1rem;
    .dots {
      display: inline-block;
      line-height: 5rem;
      color: var(--col-blue);
      font-size: var(--fsize_m);
      @media screen and (max-width: 480px) {
        line-height: 2em;
      }
    }
    @media screen and (max-width: 480px) {
      gap: 0.6rem;
    }
    .button {
      span {
        word-break: keep-all;
      }
    }
    .current {
      background-color: var(--col-blue);
      color: #fff;
    }
  }
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ターム タクソノミー タグ
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

/* ターム */
ul.term_list {
  display: flex;
  line-height: 1.5;
  li.term_wrap {
    margin-right: 0.5em;

    span {
      display: inline-block;
    }
  }
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
背景画像
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.bg-gray {
  position: relative;
  overflow: hidden;
  &::before {
    content: "";
    display: block;
    max-width: 1708px;
    width: 140%;
    aspect-ratio: 1708/1622;
    background-image: url(../img/common/bg-gray.webp);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    z-index: 0;
  }
}

a.tel{
  color: inherit;
}