@charset "utf-8";

/* ════════════════════════════════════════
   research.css — 研究内容ページ専用
   参照: rules/design_review_research.md
════════════════════════════════════════ */

/* ─── メイン: パンくずがヘッダー直下に来るよう上余白を確保 ─── */
.research-main {
  padding-top: calc(1.375rem + var(--header-h));
}

/* ─── パンくず（ヘッダー直下、背景はヒーローと一体） ─── */
.breadcrumbs {
  position: relative;
  z-index: 1;
  background-color: transparent;
  padding: 0.625rem 0;
}

/* 研究ページの本文コンテンツ幅: 960px */
.research-hero__inner,
.research-hero__body,
.research-mid .container{
  max-width: 60rem;  /* 960px */
}

.research-main .breadcrumbs .container{
    max-width: 90vw;
}

.research-about .container{
  max-width: 70rem;
}

.breadcrumbs .container {
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.breadcrumbs a {
  color: #222222;
  font-size: 0.75rem;
  text-decoration: none;
  font-family: var(--font-sans);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: #222222;
  font-size: 0.75rem;
  font-family: var(--font-sans);
}

.breadcrumbs__sep {
  margin-inline: 0.25rem;
}

/* ─── ヒーロー / ページタイトル + 本文（背景を共通でかける） ─── */
.research-hero {
  position: relative;
  /*background-color: #efefef;*/
  padding: 1rem 0 6rem 0;
  min-height: 18.75rem;
}

/* 背景画像は最大 52.5rem（840px）まで。それ以降は .research-hero の黒背景が表示される */
.research-hero::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52.5rem;
  max-height: 52.5rem;
  background-image: url('../shared/research/bg_research.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.research-hero::after{
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.1);
  z-index: 0;
}

.research-hero__inner,
.research-hero__body {
  position: relative;
  z-index: 1;
}

.research-hero__inner {
  margin-inline: auto;
  padding-inline: 1.25rem;
  text-align: center;
}

.research-hero__body {
  margin-inline: auto;
  padding-inline: 1.25rem;
  /*padding-top: 3rem;*/
  margin-top: 3rem;
  padding-bottom: 2rem;
}

.research-hero__body::-webkit-scrollbar {
  display: none;  /* Chrome, Safari */
}



.research-hero__title {
  font-family: var(--font-en);
  font-size: 3.8rem;
  font-weight: 500;
  letter-spacing: 0.075rem;
  color: #222222;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.research-hero__subtitle {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #222222;
  margin: 0 0 4rem;
  letter-spacing: 0.4rem;
  font-weight: 600;
}

.research-hero__lead {
  font-family: var(--font-serif);
  font-size: var(--font-size-lg);
  letter-spacing: 0.0625rem;
  color: #222222;
  margin: 0;
  line-height: 2;
  max-width: 42rem;
  margin-inline: auto;
  font-weight: 600;
}

/* ─── 本文テキスト（ヒーロー内で使用） ─── */
.research-content__p {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.075rem;
  color: #222222;
  line-height: 1.8;
  margin: 0 0 1.5rem;
  font-weight: 500;
}

.research-content__p:last-child {
  margin-bottom: 0;
}

/* ─── 中間見出し（白） ─── */
.research-mid {
  position: relative;
  background-color: #FFFFFF;
  padding: 4rem 0 2rem 0;
}

.research-mid .container {
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.research-mid__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
  text-align: center;
}

/* ─── 超域生命科学について（白・2カラム） ─── */
.research-about {
  background-color: #FFFFFF;
  padding: 3rem 0 4rem 0;
  position: relative;

}

.research-about .container {
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.research-about__grid {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 3.5rem;
  align-items: start;
}

.research-about__img-wrap {
  position: relative;
  /* 画面左端まで広げる（コンテナの左パディング + 余白を負のマージンで相殺） */
  margin-left: calc(-1.25rem - max(0px, (100vw - 60rem) / 2));
  width: calc(100% + 1.25rem + max(0px, (100vw - 60rem) / 2));
}

.research-about__img {
  width: 100%;
  height: 560px;
  display: block;
  object-fit: cover;
  object-position: right center;
}

.research-about__text {
  min-width: 0;
}

.research-about__p {
  font-family: var(--font-serif);
  font-size: 0.96rem;
  color: #333333;
  line-height: 1.7;
  margin: 0 0 0.8rem;
}

.research-about__block {
  margin-top: 2rem;
}

.research-about__lab {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: #333333;
  margin: 0 0 0.75rem;
}

.research-about__en {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: #333333;
  line-height: 1.8;
  margin: 0;
}

/* ─── レスポンシブ ─── */
@media (max-width: 47.9375rem) {
  .research-hero__title {
    font-size: 2.25rem;
  }
  .research-hero__subtitle {
    font-size: 1.125rem;
  }
  .research-hero__lead {
    font-size: 1rem;
  }
  .research-about__grid {
    grid-template-columns: 1fr;
  }
}

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:479px) {
  .breadcrumbs{
    padding: 0;
  }

  .breadcrumbs .container{
    padding-inline: 0;
  }

  .research-hero{
    padding: 1rem 0;
  }

  .research-hero::before {
    height: 32.5rem;
    min-height: 32.5rem;
  }

  .research-hero__title{
    font-size: 2.7rem;
    margin: 0 0 0.3rem;
  }

  .research-hero__subtitle{
    margin: 0 0 2rem;
  }

  .research-hero__lead{
    font-size: 1.1rem;
    line-height: 1.8;
  }

  .research-hero__lead br.pc{
    display: none;
  }

  .research-hero__body{
    padding-inline: 1.6rem;
  }


  .research-content__p{
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .research-mid{
    padding: 2rem 0;
  }

  .research-about{
    padding: 0 0 2rem 0;
  }

  .research-about__grid{
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .research-about__img-wrap{
    margin-left: unset;
    width: unset;
  }

  .research-about__img{
    height: auto;
  }

}

