@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap");

/* ==========================================
   SUB PAGE — 下層ページ共通（body.sub-page）
   ========================================== */
.sub-page {
  /*--sub-content-max: 52.5rem;*/ /* 840px */
  --sub-content-max: 58.125rem;
}

/* --- Page hero (KV) --- */
.page-hero--sub {
  --font-page-hero-en: "Montserrat", var(--font-en);
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 17rem;
  padding: 0;
  background: url("../assets/imags/sub/bg_content_title.png") no-repeat #1a1a1a;
  background-size: auto 100%;
  background-position: center right;
  border-bottom: none;
  overflow: hidden;
}

.en_page .page-hero--sub{
  min-height: 15rem;
}

.page-hero--sub .l-container {
  width: 75rem;
  padding: 5rem 0 0 0;
}

.page-hero--sub .page-hero__title {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-white);
}

.page-hero--sub .page-hero__title_en{
  display: block;
  font-family: var(--font-sans);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-white);
}

.page-hero--sub .page-hero__en {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-page-hero-en);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-white);
}

/* --- Main content --- */
.sub-content {
  background: var(--color-white);
}

.topicpath{
  width: 75rem;
  margin: 0 auto;
  padding-top: 1rem;
  font-size: 0.9rem;
}

.topicpath ul{
  display: flex;
  justify-content: flex-start;
  gap: 2.5rem;
  list-style: none;
}

.topicpath ul li{
  position: relative;
  font-weight: 500;
}

.topicpath ul li::after{
    content: "";
    position: absolute;
    right: -1.4rem;
    top: 50%;
    width: 0.45rem;
    height: 0.45rem;
    margin-top: -0.2rem;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(-45deg);
    pointer-events: none;
}

.topicpath ul li:last-child::after{
  display: none;
}

.topicpath ul li a{
  color: var(--color-purple-accent);
}


.sub-section {
  padding: 0 0 4rem;
  scroll-margin-top: 6rem;
}

.sub-section.recruitment-section{
  padding: 0 0 0.5rem;
}

/* 上80px → 横線 → 見出し（margin-top 24px）→ 本文 */
.sub-section > .l-container {
  width: var(--sub-content-max);
  margin-top: 3rem;
  /*border-top: 2px solid #9a859d;*/
}

.sub-section#governance-teams > .l-container{
  margin-top: 0;
}

.sub-section__title {
  max-width: var(--sub-content-max);
  margin-top: 1.5rem;
  margin-right: auto;
  margin-bottom: 2rem;
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-purple-heading);
  padding-top: 1.5rem;
  border-top: 2px solid #9a859d;
}

.sub-section__body {
  max-width: var(--sub-content-max);
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
  text-align: justify;
}

.en_page .sub-section__body{
  line-height: 1.6;
}

.sub-section__text + .sub-section__text {
  margin-top: 1em;
}

.sub-section__list {
  max-width: var(--sub-content-max);
  padding-left: 0;
  margin: 0 auto 2.5rem;
  /*padding-left: 1.25rem;*/
  font-size: 1rem;
  line-height: 1.9;
  color: #000;
  /*list-style: decimal;*/
  list-style: none;
}

.sub-section__list li{
  padding-left: 4rem;
  position: relative;
}

.sub-section__list li .sub-section_marker{
  position: absolute;
  top: 0;
  left: 0;
}

.sub-section__list li + li {
  margin-top: 1.5rem;
}

.sub-section__list-title {
  font-weight: 700;
  color: #000;
}

.sub-figure {
  max-width: var(--sub-content-max);
  margin: 0 auto;
  text-align: center;
}

.sub-figure--gov{
  margin: 0 auto 2rem auto;
}

.sub-figure__image {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

.sub-figure--728 {
  max-width: 728px;
}

.sub-figure--720 {
  max-width: 45rem;
}

.sub-figure--621 {
  max-width: 38.8125rem;
  margin-bottom: 2.5rem;
}

.sub-figure--746 {
  max-width: 746px;
}

.sub-figure--673 {
  max-width: 673px;
}

.sub-figure__caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
  color: #000;
  text-align: center;
}

/* --- page-section（ニュース・公募等） --- */
.page-section--sub {
  padding: 64px 0;
}

.page-section--sub > .l-container {
  width: min(100% - 3rem, var(--sub-content-max));
}

.page-section--sub .page-section__body {
  max-width: none;
  font-size: 16px;
  line-height: 1.9;
  text-align: justify;
}

.page-section--sub .page-section__text {
  font-size: 16px;
}

.sub-content .content-figure {
  margin: 0 auto var(--space-lg);
}

.sub-content .content-figure__image {
  width: 100%;
  max-width: none;
}

/* --- Organization page（plant-symplast.jp/groups 準拠: l-base-wide 1260px） --- */
.sub-page--org {
  --org-content-max: 78.75rem; /* 1260px */
}

.sub-content--org {
  /*--org-accent: #3d9b5c;*/
  --org-accent: #33854e;
  background: var(--color-bg-gray);
}

.sub-content--org .l-container {
  width: var(--sub-content-max);
  margin-top: 0;
  padding: 3rem 0 5rem 0;
  border-top: none;
}

.sub-page--org .breadcrumb__list {
}

.breadcrumb {
  background: var(--color-bg-gray);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  width: min(100% - 3rem, var(--sub-content-max));
  margin-inline: auto;
  padding: 0.75rem 0;
  font-size: 0.75rem;
  color: var(--color-text-sub);
  list-style: none;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: ">";
  margin-right: 0.5rem;
  color: var(--color-text-sub);
}

.breadcrumb__link {
  color: var(--color-text-sub);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.org-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.org-filter__btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 9.5em;
  min-height: auto;
  padding: 0.85em 3em 0.95em 1.5em;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  background: var(--color-white);
  border: 1px solid var(--color-text);
  border-radius: 0.4rem;
  cursor: pointer;
  position: relative;
  transition: all .3s ease;
}

.org-filter__btn::after {
  content: "";
  position: absolute;
  right: 1.2em;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.25rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  pointer-events: none;
  transition: all .3s ease;
}

.org-filter__btn:hover,
.org-filter__btn:focus-visible {
  background: var(--color-purple-dark);
  border-color: var(--color-purple-dark);
  color: var(--color-white);
  opacity: 1;
}

.org-filter__btn:hover::after,
.org-filter__btn:focus-visible::after {
  border-color: var(--color-white);
}

.org-filter__btn--active {
  /*font-weight: 700;*/
  background: var(--color-purple-dark);
  border-color: var(--color-purple-dark);
  color: var(--color-white);
}

.org-filter__btn--active::after {
  border-color: var(--color-white);
}

.org-panel__heading {
  max-width: var(--sub-content-max);
  padding-top: 1.5rem;
  margin-right: auto;
  margin-bottom: 2rem;
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-purple-heading);
  border-top: 2px solid #9a859d;
}

.org-panel__heading::before {
  content: "";
  display: block;
  width: 2em;
  height: 3px;
  background: var(--color-border);
  position: absolute;
  left: 0;
  top: -2px;
}

.org-panel__heading--sub {
  margin-top: 3rem;
}

.org-area {
  scroll-margin-top: 6rem;
}

.org-area__label {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--org-accent);
}

.org-area + .org-area .org-area__label,
.org-area:not(:first-child) .org-area__label {
  margin-top: 2.5rem;
}

.org-card {
  margin-bottom: 3.5rem;
  padding: clamp(1.5rem, 3vw, 3.5rem) clamp(1.25rem, 3vw, 4%);
  background: var(--color-white);
  border: none;
  border-radius: 0;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
  scroll-margin-top: 6rem;
}

.org-card__header {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 2px solid #b1b1b1;
}

.org-card__title {
  display: block;
  margin: 0 0 0.75rem;
  padding-left: 1em;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.05em;
  color: var(--color-text);
  position: relative;
}

.org-card__title::before{
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--org-accent);
}
.org-card__title::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--org-accent);
}

/*
.org-card__accent {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--org-accent);
}

.org-card__accent::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--org-accent);
}
  */

.org-card__topic {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text);
}

.org-card__profile {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /*align-items: flex-start;*/
  gap: 1rem 1rem;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.org-card__profile > .org-card__photo {
  flex-shrink: 0;
}

.org-card__leader {
  flex: 1;
  min-width: 12rem;
  padding-top: 0.5em;
}

.org-card__collab {
  flex: 1;
  margin-left: auto;
}

.org-card__photo {
  width: 9.375rem;
  height: auto;
  margin-inline: 0;
  border-radius: 50%;
}

.org-card__label {
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-sub);
}

.org-card__name {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
}

.org-card__affil {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text);
}

.org-card__collab {
  padding: 1rem;
  background: var(--color-bg-gray);
}

.org-card__collab-item + .org-card__collab-item {
  margin-top: 0.35rem;
}

.org-card__collab-list {
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--color-text);
  list-style: none;
}

.org-card__body {
  display: flex;
  /*flex-direction: column;*/
  gap: 1.5rem;
  align-items: stretch;
  padding-top: 2.5rem;
}

.org-card__figure {
  margin: 0 0 1rem;
}

.org-card__image {
  display: block;
  width: 18.75rem;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.org-card__desc {
  flex: 1;
  min-width: 0;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.8;
  color: var(--color-text);
  text-align: justify;
}

.sub-content_en .org-card__desc{
  text-align: left;
  line-height: 1.6;
}

.org-card__text + .org-card__text {
  margin-top: 1em;
}

.org-panel{
  padding-bottom: 2rem;
}

.org-empty {
  padding: 2rem;
  font-size: 1rem;
  line-height: 1.9;
  text-align: center;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  margin-bottom: 5rem;
}

.org-empty__link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.org-summary {
  margin: 0;
}

.org-summary__team {
  margin-bottom: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--org-accent);
}

.org-summary__members {
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.org-summary__members:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.org-advisory {
  margin: 0;
  padding: 0;
  list-style: none;
}

.org-advisory__item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  line-height: 1.8;
}

.org-advisory__item:last-child {
  border-bottom: none;
}

.org-advisory__link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.org-advisory__name {
  font-weight: 700;
  color: var(--color-text);
}

.org-advisory__affil {
  color: var(--color-text-sub);
}

/* --- Governance page --- */
.gov-teams {
  max-width: var(--sub-content-max);
  margin: 0 auto;
}

.gov-team {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.gov-team:last-child {
  border-bottom: none;
}

.gov-team--featured {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 48rem) {
  .gov-team--featured {
    grid-template-columns: 200px 1fr;
  }
}

.gov-team__photo {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
}

.gov-team__name {
  margin-bottom: 0.35rem;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-purple-heading);
}

.gov-team__lead {
  margin-bottom: 0.5rem;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.gov-team__desc {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
}

.org-planning {
  max-width: var(--sub-content-max);
  margin: 0 auto;
}

.org-planning__item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 16px;
  line-height: 1.8;
}

.org-planning__item:last-child {
  border-bottom: none;
}

.org-planning__team {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--color-purple-heading);
}

/*運営体制*/
.member_wrap{
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.member_box{
  width: calc((100% - 1rem) / 2);
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
}

.member_box .member_img{
  width: 6.5rem;
}

.member_box .member_info{
  flex: 1;
}

.member_cat{
  display: inline-block;
  padding: 0 0.5rem;
  color: #fff;
  background: var(--color-purple-heading);
  font-size: 0.9rem;
  line-height: 1.5;
}

.member_name{
  font-size: 1.3rem;
  font-weight: 600;
}

.member_shozoku{
  font-size: 0.9rem;
  line-height: 1.5;
}

.soshikizu_img{
  margin-top: 3rem;
}

.org_table{
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.15);
}

.org_table table{
  width: 100%;
  border-collapse: collapse;
}

.org_table table thead tr th{
    font-weight: 500;
    padding: 0.5em 1.5em;
    text-align: left;
    background-color: #7C4080;
    color: #fff;
}

.org_table table tbody tr{
  border-bottom: 1px solid #bbb;
}

.org_table table tbody tr:last-child{
  border-bottom: unset;
}

.org_table table tbody tr td{
    padding: 0.8em 1.5em;
    text-align: left;
    background-color: #ffffff;
    font-size: 0.9rem;
}

.org_table table tbody tr td:first-child{
    width: 13rem;
    background-color: #f0f0f0;
    font-size: 1rem;
}

.sub-content_en .org_table table tbody tr td:first-child{
    font-size: 0.9rem;
}


.recruitment_table{
    margin-top: 2rem;
}

.recruitment_table_ttl{
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #000;
}

.recruitment_table table{
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.15);
}

.recruitment_table table thead tr th{
    font-weight: 500;
    padding: 0.5em 1em;
    text-align: left;
    background-color: #7C4080;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}

.recruitment_table table tbody tr{
  border-bottom: 1px solid #bbb;
}

.recruitment_table table tbody tr:last-child{
  border-bottom: unset;
}

.recruitment_table table tbody tr td{
    padding: 0.8em 1.5em;
    text-align: left;
    background-color: #ffffff;
    font-size: 0.9rem;
}

.cfpp_box{
    margin-bottom: 3.5rem;
    padding: clamp(1.5rem, 3vw, 3.5rem) clamp(1.25rem, 3vw, 4%);
    background: var(--color-white);
    border: none;
    border-radius: 0;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
    scroll-margin-top: 6rem;
}

.cfpp_ttl{
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 1rem;
}

p + .cfpp_ttl{
  margin-top: 2.5rem;
}

/*1440px以下*/
@media screen and (min-width:1px) and (max-width:1440px){
}

/*1200px以下*/
@media screen and (min-width:1px) and (max-width:1200px){
  .page-hero--sub .l-container {
    width: 64rem;
  }

  .topicpath{
    width: 64rem;
  }

}

/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px){
  .page-hero--sub{
      min-height: 15rem;
  }

  .en_page .page-hero--sub{
    min-height: 12rem;
  }

  .page-hero--sub .l-container {
    width: 90vw;
    padding: 4rem 0 0 0;
  }

  .page-hero--sub .page-hero__title{
      font-size: 1.5rem;
  }

  .page-hero--sub .page-hero__title_en{
    font-size: 2.8rem;
  }

  .page-hero--sub .page-hero__en{
    margin-top: 0.5rem;
    font-size: 3.4rem;
  }

  .topicpath{
    width: 90vw;
  }

}

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:479px) {
  .sub-section__body{
    line-height: 1.6;
  }

  .site-header{
    background-color: #fff;
    box-shadow: 0 5px 10px -10px rgb(0 0 0 / 40%) /*, 0 1px 0 0 #dcdcdc*/;
  }

  .sub-section{
    padding-bottom: 2.5rem;
  }

  .sub-section > .l-container{
    width: 90vw;
    margin-top: 2.5rem;
  }

  .sub-figure__caption{
    font-size: 0.85rem;
  }

  .page-hero--sub{
    min-height: 11rem;
  }

  .en_page .page-hero--sub{
    min-height: 11rem;
  }

  .page-hero--sub .l-container{
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 11rem;
  }

  .page-hero--sub .page-hero__title{
    font-size: 1.2rem;
  }

  .page-hero--sub .page-hero__title_en{
    font-size: 2rem;
  }


  .page-hero--sub .page-hero__en{
    margin-top: 0.5rem;
    font-size: 2.2rem;
  }

  .page-hero--sub .page-hero__en.long{
    font-size: 2rem;
  }

  .sub-section__title{
    margin-top: 0.8rem;
    margin-bottom: 1.3rem;
    font-size: 1.4rem;
  }

  .org-panel__heading{
    padding-top: 0.8rem;
    margin-bottom: 1.3rem;
    font-size: 1.4rem;
  }

  .org-area__label{
    margin-bottom: 0.8rem;
  }

  .org-area + .org-area .org-area__label,
  .org-area:not(:first-child) .org-area__label{
    margin-top: 2rem;
  }

  .sub-content--org .l-container{
    width: 90vw;
    padding: 2rem 0 1rem 0;
  }

  .org-filter{
    margin-bottom: 2rem;
  }

  .org-filter__btn{
    min-width: unset;
    width: calc((100% - 1rem) / 3);
    padding: 0.85em 2em 0.95em 1em;
  }

  .sub-content_en .org-filter__btn{
    min-width: unset;
    width: calc((100% - 1rem) / 3);
    padding: 0.65em 1.5em 0.65em 0.7em;
    white-space: normal;
    font-size: 0.85rem;
  }

  .org-filter__btn::after{
    right: 0.8em;
  }

  .org-card{
    box-shadow:0 0 0.5em rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
  }

  .org-card__header{
    margin-bottom: 1.5rem;
  }

  .org-card__topic{
    font-size: 1.125rem;
  }

  .org-card__desc{
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .org-card__body{
    flex-direction: column;
    padding-top: 2rem;
  }

  .org-card__profile{
    gap: 1rem;
    align-items: flex-start;
  }

  .org-card__figure{
    margin: 0;
  }

  .org-card__image{
    margin: 0 auto;
    width: 55vw;
  }

  .org-card__photo{
    width: 7rem;
  }

  .org-card__collab{
    width: 100%;
    max-width: unset;
  }

  .org-card__affil{
    line-height: 1.5;
  }

  .org-empty{
    margin-bottom: 3rem;
  }

  .member_wrap{
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }

  .member_box{
    width: 100%;
  }

  .org_table table tbody tr td{
    padding: 0.8em 1em;
    text-align: left;
    background-color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
}

.org_table table tbody tr td:first-child{
    width: 10rem;
}

.recruitment_table{
  max-width: 100%;
  overflow-x: auto;
}

.org_table table thead tr th{
    padding: 0.5em 1em;
}

.recruitment_table table thead tr th{
  padding: 0.5em 1em;
}

.recruitment_table table thead tr th:nth-child(2){
  min-width: 11rem;
}

.recruitment_table table tbody tr td{
    padding: 0.8em 1em;
    line-height: 1.4;
}

}