@charset "UTF-8";

/*-----------------------------------------------------------------------------
　各ページごとに設定するコンテンツのスタイル
（このCSSが一番最後に読み込まれる）
-----------------------------------------------------------------------------*/

/*==================== 1.ホームページ ====================*/

/* =======================================
　タイトル
======================================= */

/*------ H2 -----*/
body.home h2 {
  font-size: calc(var(--size-h2) * 1.2);
  margin-bottom: calc(var(--size-h2) * 1.8);
}



.top-main-visual {
  height: 90vh;
}

.top-main-visual .wp-block-snow-monkey-blocks-section-with-bgimage {
  height: 90vh;
}

.top-main-visual .top-main-visual-logo {
  position: relative;
  left: 29vw;
}

@media screen and (max-width: 768px) {
  .top-main-visual .top-main-visual-logo {
    left: 6vw;
  }
}

@media screen and (max-width: 440px) {
  .top-main-visual .top-main-visual-logo {
    left: unset;
  }
}


/* =======================================
　プロローグ
======================================= */

/*------ 外枠 -----*/
.top-prologue-area {
  padding-top: 12rem !important;
  background-image: url(../../images/common/uefll-pattern.jpg);
  background-color:rgba(255,255,255,0.6);
  background-position: bottom right;
  background-size: 30%;
  background-blend-mode:lighten;
}


/* =======================================
　NEWS
======================================= */

/*------ ニュース外枠 -----*/
.top-news-area {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
  border-top: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  margin-top: 40px !important;
  margin-bottom: 80px !important;
}

.top-news-outer {
  margin-bottom: 80px;
}

/*------ ニュース新着 -----*/
.top-news-outer ul li {
  border-bottom: 1px dotted var(--color-accent01);
  padding: 8px 32px;
}

.top-news-outer ul li div {
  flex-wrap: wrap;
  align-items: center;
  gap: 2em;
}

@media screen and (max-width: 600px) {
  .top-news-outer ul li div {
    gap: 0.4em;
    flex-direction: column;
    align-items: flex-start;
  }
}

.top-news-outer ul li a {
  text-decoration: none !important;
  font-size: var(--size-primary-font);
  color: var(--color-primary-font-main);
  font-weight: normal !important;
  margin: 0 !important;
  padding: 0 !important;
}

.top-news-outer ul li time a {
  white-space: nowrap;
}

.top-news-outer ul li .taxonomy-category {
  display: flex;
  align-items: center;
}

.top-news-outer ul li .taxonomy-category a {
  background: var(--color-primary);
  color: #FFF;
  font-size: calc(var(--size-primary-font) * 0.8);
  padding: 2px 6px !important;
}

.top-news-outer ul li h3 {
  display: flex;
  align-items: center;
}


/* =======================================
　イベント
======================================= */

/*------ イベント外枠 -----*/
.top-event-outer {
  margin-bottom: 80px;
}

/*------ イベント新着 -----*/
.top-event-outer ul li figure {
  border: 2px solid var(--color-accent01);
}

.top-event-outer ul li img {
  height: 20vw;
  max-height: 323px;
  object-position: center top;
}

@media screen and (max-width: 600px) {
  .top-event-outer ul li img {
    height: 50vw;
    max-height: 50vw;
  }
}

.top-event-outer ul li a {
  text-decoration: none !important;
  font-size: var(--size-primary-font);
  color: var(--color-primary-font-main);
  font-weight: normal !important;
  margin: 0 !important;
  padding: 0 !important;
}

.top-event-outer ul li h3 {
  margin-top: 0;
}


/* =======================================
　プロフィール
======================================= */

/*------ 画像 -----*/
.top-profile-inner {
  margin-top: 5vw;
  padding-top: 0 !important;
}

/*------ 画像 -----*/
.top-profile-inner .top-profile-img img {
  position: relative;
  max-width: 420px;
  height: auto;
  top: -5vw;
}

@media screen and (max-width: 639px) {
  .top-profile-inner p {
    padding-left: 16px;
    padding-right: 16px;
  }
}



/*==================== 2.会社概要 ====================*/

/* =======================================
　概要テーブル
======================================= */
.about .about-tbl table tr td {
  border: none;
}

.about .about-tbl table tr td:first-child {
  border-bottom: 2px solid #dcd2d8;
  width: 30%;
}

.about .about-tbl table tr td:nth-child(2) {
  border-bottom: 2px solid var(--color-accent02);
  margin-left: 16px;
  display: block;
}

@media screen and (max-width: 768px) {
  .about .about-tbl table tr td:first-child {
    display: block;
    width: 100%;
    background: #dcd2d8;
    border-bottom: none;
  }

  .about .about-tbl table tr td:nth-child(2) {
    width: 100%;
    margin-left: 0;
    border-bottom: none;
  }
}




/*==================== 3.仕事のご依頼 ====================*/

/* =======================================
　FORM　確認画面
======================================= */
.snow-monkey-form[data-screen="confirm"] div.smf-item__col.smf-item__col--label {
  border-bottom: 2px solid #dcd2d8;
}

.snow-monkey-form[data-screen="confirm"] div.smf-item__col.smf-item__col--controls {
  border-bottom: 2px solid var(--color-accent02);
}



/*==================== 4.サイトマップ ====================*/

/* =======================================
　リンク
======================================= */
.sitemap-outer ul {
  list-style: none !important;
}

.sitemap-outer ul li a {
  position: relative;
  padding-left: 24px;
  display: flex;
  align-items: center;
  text-decoration: none !important;
}

.sitemap-outer ul li a:before {
  position: absolute;
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  left: 0;
  background-position: center;
}






/*==================== 5.研究室アーカイブ ====================*/

/* =======================================
　メインビジュアル
======================================= */

/*------ 枠 -----*/
#lab-main-visual {
  padding-top: 44vw !important;
  padding-bottom: 8rem !important;
}


#lab-main-visual h2 {
  border-left: none !important;
}




/*==================== 5.研究室アーカイブ プロフィール ====================*/

/* =======================================
　外部獲得資金
======================================= */

/*------ テーブル -----*/
.funds-tbl td {
  font-size: calc(var(--size-primary-font) * 0.9);
}

.funds-tbl tr:nth-child(even) {
  background: #DBE1E3;
}


@media screen and (max-width: 1024px) {
  .funds-tbl td {
    display: block;
    width: 100%;
    border: none !important;
  }
  .funds-tbl td:first-child {
    font-size: var(--size-primary-font);
    font-weight: bold;
  }
}



/*==================== 5.研究室アーカイブ 研究一覧 ====================*/

/* =======================================
　研究一覧
======================================= */

/*------ テーブル -----*/
.research-tbl {
  border-top: 1px solid #ececec !important;
  border-right: 1px solid #ececec !important;
}

.research-tbl td {
  font-size: calc(var(--size-primary-font) * 0.9);
  border-left: 1px solid #ececec !important;
}

.research-tbl tr:nth-child(even) {
  background: #DBE1E3 !important;
}

@media screen and (max-width: 1024px) {
  .research-tbl {
    border-top: none !important;
  border-right: none !important;
  }

  .research-tbl td {
    display: block;
    width: 100%;
    border: none !important;
  }

  .research-tbl td:first-child {
    font-size: var(--size-primary-font);
    font-weight: bold;
  }
}