/* 小さな文字（元の10〜15px）を4px拡大。大きな見出しは既存サイズを維持。 */
/* 01. 配色と基本設定 */
:root {
  --ink: #182c2b;
  --green: #275c50;
  --paper: #f6f6ef;
  --line: #d5dcd4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  line-height: 1.9;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

button:focus-visible,a:focus-visible,summary:focus-visible {
  outline: 3px solid #a86a22;
  outline-offset: 5px;
}

.container {
  max-width: 1160px;
  margin: auto;
  padding: 0 36px;
}


/* 02. ヘッダー・ナビゲーション */
header {
  position: sticky;
  top: 0;
  background: #f6f6eff2;
  backdrop-filter: blur(12px);
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 78px;
  gap: 20px;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 16px;
}

.brand b {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  margin-right: 10px;
  font-family: serif;
}

nav {
  display: flex;
  gap: 28px;
  font-size: 16px;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--green);
  text-decoration: underline;
}

.eyebrow {
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}


/* 03. ファーストビュー */
.hero {
  padding: 76px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 40px;
}

.pill {
  display: inline-block;
  border: 1px solid #a3b9aa;
  border-radius: 30px;
  padding: 5px 13px;
  letter-spacing: .06em;
  font-size: 15px;
}

h1 {
  font-size: clamp(36px,4.6vw,61px);
  line-height: 1.45;
  letter-spacing: -.035em;
  font-weight: 600;
  margin: 26px 0;
}

h1 em {
  font-style: normal;
  color: var(--green);
}

.lead {
  font-size: 18px;
  max-width: 430px;
  color: #4c5e57;
}

.button-link {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  background: var(--green);
  color: white;
  border-radius: 3px;
  text-decoration: none;
  padding: 12px 22px;
  margin-top: 20px;
  font-size: 17px;
}

.hero-visual {
  position: relative;
  padding: 30px 0;
}

.halo {
  position: absolute;
  inset: 0 3%;
  border-radius: 50%;
  background: #e5eacb;
  z-index: -1;
}

.image-zoom-button {
  display: block;
  width: 100%;
  border: 0;
  background: white;
  padding: 12px;
  box-shadow: 0 14px 45px #283f3010;
  border-radius: 5px;
}

.image-zoom-button img {
  display: block;
  width: 100%;
  height: auto;
}

.image-zoom-button:hover {
  box-shadow: 0 14px 45px #283f3025;
}

.figure-note {
  font-size: 14px;
  color: #66746b;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.project-facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
  gap: 20px;
}

.project-facts small {
  display: block;
  font-size: 14px;
  letter-spacing: .12em;
  color: #66746b;
}

.project-facts strong {
  font-size: 19px;
  font-weight: 500;
}


/* 04. 共通セクション */
.section {
  padding: 84px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0px;
  margin-bottom: 38px;
}

.section-head h2 {
  font-size: 30px;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

.section-head .eyebrow {
  color: #5b7266;
  margin-top: 8px;
}


/* 05. 研究のねらい */
.concept {
  background: var(--green);
  color: #fff;
}

.concept .eyebrow {
  color: #dae9ab;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.concept p {
  font-size: 18px;
  color: #e3ece5;
}

.quote {
  font-size: clamp(20px,3vw,25px);
  line-height: 1.7;
  margin: 0 0 20px;
  letter-spacing: .02em;
  font-style: italic;
}

.concept figure {
  margin: 0;
  background: white;
  border-radius: 4px;
  padding: 15px;
  color: var(--ink);
}

.concept figcaption {
  font-size: 15px;
  padding-top: 8px;
}

.concept .image-zoom-button {
  padding: 0;
  box-shadow: none;
}


/* 06. 研究項目 */
.research-list {
  border-top: 1px solid var(--line);
}

.research-row {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  align-items: start;
}

.research-number {
  font-family: Georgia,serif;
  font-size: 32px;
  color: #76927d;
  line-height: 1.4;
}

.research-row h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.research-row p {
  font-size: 17px;
  margin: 0;
  color: #55655d;
}


/* 07. 2028年の目標 */
.milestone {
  background: #e9eddf;
}

.roadmap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.year {
  font-family: Georgia,serif;
  font-size: 92px;
  line-height: 1;
  color: var(--green);
  font-weight: 400;
}

.target h3 {
  font-size: 23px;
  font-weight: 500;
  margin: 20px 0 15px;
}

.target p {
  font-size: 18px;
}

.tag {
  font-size: 15px;
  background: #d7e1c8;
  padding: 5px 10px;
  display: inline-block;
  margin: 0 6px 10px 0;
}

.tech {
  margin: 0;
}

.tech figcaption {
  font-size: 15px;
  color: #586a5e;
  margin-top: 12px;
}


/* 08. 研究体制 */
.team {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.project-manager {
  display: flex;
  gap: 24px;
  align-items: center;
}

.project-manager img {
  /* 提供された写真の縦横比を保ち、全体を表示する。 */
  width: 134px;
  height: auto;
  flex-shrink: 0;
  border-radius: 3px;
}

.project-manager h3 {
  font-size: 25px;
  margin: 5px 0;
}

.project-manager p {
  font-size: 16px;
  margin: 0;
}

.members {
  border-top: 1px solid var(--line);
}

.member {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 17px;
}

.member span {
  font-size: 15px;
  color: #647365;
  text-align: right;
}


/* 09. 用語解説 */
.faq {
  max-width: 780px;
  margin: auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.faq h2 {
  font-size: 25px;
  font-weight: 500;
  margin: 0 0 25px;
}

details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 500;
}

details p {
  font-size: 17px;
  color: #56665d;
  margin-bottom: 0;
}


/* 10. 出典リンク・フッター */
.source {
  background: #dde6ce;
  padding: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.source h2 {
  font-size: 23px;
  margin: 0;
}

.source p {
  font-size: 16px;
  margin: 5px 0;
}

.source .button-link {
  margin: 0;
  white-space: nowrap;
}

footer {
  padding: 30px 0 40px;
  color: #657268;
  font-size: 14px;
}

footer p {
  margin: 6px 0;
}


/* 11. 画像拡大・スクロール表示 */
dialog {
  border: 0;
  border-radius: 8px;
  max-width: min(1100px,94vw);
  padding: 50px 18px 18px;
  background: white;
}

dialog::backdrop {
  background: #102620cc;
}

dialog img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

dialog button {
  position: absolute;
  right: 15px;
  top: 10px;
  background: #edf1e5;
  border: 0;
  border-radius: 30px;
  padding: 4px 15px;
  font-size: 17px;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: #9fb75a;
  width: 0;
  z-index: 20;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  width: 44px;
  height: 44px;
  color: var(--green);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}


/* 12. スマートフォン対応 */
@media(max-width:760px) {
  .container {
    padding: 0 22px;
  }

  header .container {
    min-height: 68px;
  }

  .brand {
    font-size: 17px;
  }

  nav {
    gap: 14px;
    font-size: 14px;
  }

  nav a:nth-child(2) {
    display: none;
  }


  /* 03. ファーストビュー */
  .hero {
    padding: 40px 0;
  }

  .hero-grid,.concept-grid,.roadmap,.team {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-visual {
    padding: 15px 0;
  }

  h1 {
    font-size: 42px;
  }

  .project-facts {
    margin-top: 30px;
    grid-template-columns: 1fr 1fr;
  }

  .project-facts div:last-child {
    grid-column: 1/-1;
  }


  /* 04. 共通セクション */
  .section {
    padding: 55px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .research-row {
    grid-template-columns: 40px 1fr;
    gap: 10px 15px;
  }

  .research-row p {
    grid-column: 2;
  }

  .research-row h3 {
    font-size: 17px;
  }

  .year {
    font-size: 76px;
  }


  /* 10. 出典リンク・フッター */
  .source {
    padding: 25px;
    display: block;
  }

  .source .button-link {
    margin-top: 18px;
  }

  .member {
    gap: 20px;
  }

  .member span {
    max-width: 65%;
  }

  .project-manager {
    gap: 20px;
  }

}


/* 13. 動きを抑える設定 */
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none!important;
  }

}


/* 14. 印刷用の調整 */
@media print {
  header,.back-to-top,.reading-progress,.button-link,dialog {
    display: none;
  }


  /* 04. 共通セクション */
  .section {
    padding: 30px 0;
  }

  body {
    background: white;
  }


  /* 05. 研究のねらい */
  .concept {
    background: white;
    color: var(--ink);
  }

  .concept p,.concept .eyebrow {
    color: var(--ink);
  }

  .image-zoom-button {
    box-shadow: none;
  }

  details p {
    display: block;
  }

}

/* 個別要素の調整（HTMLに直接書いていたスタイルを集約） */
.skip-link {
  position: absolute;
  left: -10000px;
}

.skip-link:focus {
  left: 10px;
}

.year-label {
  font-size: 17px;
  margin-left: 16px;
}

.target .milestone-note {
  font-size: 15px;
}

.section.glossary-section {
  padding-top: 0;
}

/* 文字拡大に伴う折り返し調整 */
.figure-note,
.project-manager {
  flex-wrap: wrap;
}

.member {
  flex-wrap: wrap;
}

.member span {
  overflow-wrap: anywhere;
}

@media (max-width: 1000px) {
  .team {
    grid-template-columns: 1fr;
  }

  .source {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  header .container {
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  nav {
    flex-wrap: wrap;
  }

  .project-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .member span {
    max-width: 100%;
  }

  .faq {
    padding: 24px 20px;
  }
}
