@charset "UTF-8";

/* =================================================
   Base（共通）
================================================= */

html {
    font-size: 100%;
}

body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
    line-height: 1.7;
    color: #432;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* =================================================
   Layout
================================================= */

.wrapper {
    background: #ffffff;
    padding: 3rem 0rem;
    margin: 1rem auto;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.page-content {
    margin-top: 0;
    padding-top: 0.5rem;
}

.hero {
  background-color: #f1f6e5;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero + .wrapper {
    margin-top: 1rem;
}

.align-center {
    text-align: center;
}

.section {
  max-width: 900px;
  margin: 0 auto;
}

.section p {
  max-width: 700px;
  line-height: 1.8;
}

.section-title,
.section p,
.section ul {
  max-width: 800px;
  margin-left: 0;
  margin-right: 0;
}

.sub-cover-inner,
.content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.jp-name {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* =================================================
   Typography
================================================= */

.font-english {
    font-family: 'Philosopher', sans-serif;
    font-weight: normal;
}

.page-title {
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 0.05em;
}

.heading-large {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.topic-lead {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 0.5rem;
    color: #333;
}


/* =================================================
   Button
================================================= */

.btn {
    display: inline-block;
    font-size: 1.5rem;
    padding: .75rem 1.5rem;
    border-radius: 8px;
    background: #0bd;
    color: #fff;
    

}
.btn:hover {
    background-color: #0090aa;
}

/* =================================================
   Sidebar
================================================= */

.side-menu {
    list-style: none;
    text-align: center;
    margin-bottom: 4rem;
    padding: 0;
}

.side-menu li {
    border-bottom: 1px solid #c9c2bc;
}

.side-menu a {
    display: block;
    padding: 0.75rem 0;
    color: #432;
}

/* =================================================
   Cover（共通）
================================================= */

.cover-home,
.cover-research {
    background-image: none;
}

.sub-cover {
    background-color: #f1f6e5;
    min-height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* =================================================
   Article / Post　（記事・投稿）
================================================= */

.post {
    margin-bottom: 3rem;
}

.post-title {
    font-weight: normal;
    margin-bottom: 1.25rem;
}

.post-date {
    font-size: .875rem;
}

.research-topics {
    margin-top: 2.5rem;
}

/* =================================================
   Topic List
================================================= */

.topic-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.topic-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.topic-title {
  width: 6em;
  flex-shrink: 0;
  font-weight: 600;
  letter-spacing: 0.05rem;
  font-family: 'Philosopher',sans-serif;
}

.topic-title a {
    color: #2a5db0;
    position: relative;
    cursor: pointer;   /* マウスオンで手になる */
}

.topic-title a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.topic-title a:hover::after {
    transform: scaleX(1);
}

.topic-desc {
  line-height: 1.6;
}

.topic-image {
    display: block;
    margin: 2rem 0;
    cursor: zoom-in;
}

.back-link {
    margin-top: 4rem;
    font-size: 0.9rem;
}

.back-link a {
    color: #555;
}

.back-link a:hover {
    text-decoration: underline;
}

/* Topic ページ間ナビ */
.topic-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
}

.topic-nav a {
    color: #555;
    text-decoration: none;
    position: relative;
}

.topic-nav a strong {
    font-weight: 600;
}

.topic-nav a:hover {
    text-decoration: underline;
}



/* =================================================
   Paper List
================================================= */

.paper-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.paper-item {
    padding: 1.2rem 0;
    border-bottom: 1px solid #ddd;
}

.paper-journal {
    font-weight: 600;
    color: #4b3fcf;
    font-size: 1.05rem;
}

.paper-title {
    margin-top: 0.4rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.paper-year {
    color: #666;
    font-size: 0.9rem;
}

.paper-links a {
    font-size: 0.85rem;
    margin-right: 0.8rem;
    color: #4b3fcf;
}

.file-type {
    font-size: 0.75rem;
    padding: 0.1em 0.4em;
    background: #eee;
    border-radius: 3px;
    margin-left: 0.4rem;
    color: #666;
}

.back-link {
    margin-top: 3rem;
}

.back-link a:hover {
    text-decoration: underline;
}

/* =================================================
   Header / Navigation（モバイル基準）
================================================= */

.page-header {
    position: relative;
    background: transparent;
    border-bottom: none;
}

.page-header .wrapper{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    margin: 0;
    padding: 0.8rem 1rem;
    border-radius: 0;
    box-shadow: none;
}

/*　--- Navigation ---*/

.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    white-space: nowrap;
}

.main-nav.active {
    display: flex;
}

.main-nav a:hover {
    color: #0bd;
}

/* =================================================
   Hamburger Menu
================================================= */

.hamburger {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #432;
    transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* =================================================
   Content
================================================= */

.cover {
    background-size: cover;
    background-position: center bottom;
    min-height: 60vh;
}


.about {
    max-width: 736px;
    padding: 0 1.5rem;
    margin: 3rem auto 4rem;
}
.about p {
    margin-bottom: 3rem;
}


/* =================================================
   Footer
================================================= */

.page-footer {
    background: #f2f2f2;
    border-top: 1px solid #ddd;
    padding: 2rem 0;
}

.info {
    max-width: 544px;
    margin: 0 auto;
    padding: 0 1rem;
    border-spacing: 0;
}

.info th,
.info td {
    border-bottom: 1px solid #c9c2bc;
    padding: 1rem 0;
    text-align: left;
}

.info th {
    text-align: left;
    font-weight: normal;
    padding: 1rem 0;
}

.copyright {
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* =================================================
   Home Page
================================================= */

.home {
    margin-top: 0;
}

.home-title {
    margin-bottom: 4rem;
}

.lab-name {
    font-size: 3.2rem;
    letter-spacing: 0.05em;
}

.lab-affiliation {
    font-size: 1.4rem;
    color: #555;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}


/* タイトル */
.site-title {
  font-size: 3.2rem;
  font-weight: 500;
  color: #4a3a2a;
  margin : 0 0 12px;
}

/* サブタイトル */
.site-subtitle {
  font-size: 1.4rem;
  color: #555;
  margin: 0;
}

/* Latest Updates */

.update-list {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 2.5rem;
}

.update-list li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.update-paper {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.update-paper img {
    width: 180px;
    border: 1px solid #ccc;
}

.Updates {
    text-align: left;
}

.Updates .section-title {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}


/* =================================================
   Profile Page
================================================= */

/* Profile page cover */
.cover-profile {
    background-color: #f1f6e5;  /* Home hero と同系色 */
}

.profile-layout {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.profile-main {
    flex: 1;
}

/* 右側全体 */
.profile-text {
  display: flex;
  align-items: center;
}

/* 日本語・英語 */
.profile-ja,
.profile-en {
  font-size: 15px;
  line-height: 1.8;
}

.name-ja,
.name-en {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

/* 区切り線 */
.profile-divider {
  width: 1px;
  height: 100%;
  background-color: #000;
  margin: 0 24px;
}


.profile-sidebar {
    width: 300px;
    background: #f6f6f6;
    padding: 1.5rem;
}

.profile-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.profile-photo {
    width: 300px;
    height: auto;
}

.profile-name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.profile-name span {
    font-size: 1rem;
    font-weight: normal;
}

.profile-affiliation {
    line-height: 1.6;
}

.profile-section {
    margin-bottom: 2.5rem;
}

.profile-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.profile-section ul {
    padding-left: 1.2rem;
}

/* Education & Career / Awards 共通 */
.career-list,
.award-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.career-list li,
.award-list li {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0.9rem;
    line-height: 1.8;
}

/* 年号カラム */
.career-list li span,
.award-list li span {
    width: 7.5em;          /* ←年の列を揃える */
    flex-shrink: 0;
    font-weight: 600;
    letter-spacing: 0;          /* ★ 必須：字間を消す */
    font-variant-numeric: tabular-nums;
    color: #222;
    text-align: right;
}

/* =================================================
   Publications Page
================================================= */

.publications {
    margin-top: 0;
    padding-left: 0rem;
}

.cover-publications {
    background-color: #f1f6e5;
}

/* 年 */
.pub-year {
    font-size: 2.4rem;
    font-weight: 600;
    margin: 4rem 0 1.5rem;
    color: #432;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.3rem;
}

.Updates {
    text-align: left;
}

/* セクション */
.pub-section {
    margin-bottom: 3rem;
}

.pub-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #333;
}

/* リスト */
.pub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 1論文 */
.pub-item {
    margin-bottom: 2rem;
    line-height: 1.75;
}

/* 著者 */
.pub-item .authors {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

/* タイトル */
.pub-item .title {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.pub-item .title em {
    font-style: italic;
}

/* 雑誌情報 */
.pub-item .journal {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.2rem;
}

/* DOI */
.pub-item .doi {
    font-size: 0.85rem;
}

.pub-item .doi a {
    color: #0b6db7;
    word-break: break-all;
}

.pub-item .doi a:hover {
    text-decoration: underline;
}

/* =================================================
   Research Page
================================================= */

.cover-research {
    background-color: #f1f6e5
}

.research-topics {
    margin-top: 2rem;
}

.topic-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
}

.topic-list li {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
    font-size: 1rem;
    line-height: 1.6;
}

.topic-title {
    display: inline-block;
    min-width: 6.5rem;        /* ← 左揃えを安定させる */
    font-size: 1.25rem;       /* ← 今より明確に大きく */
    font-weight: 600;         /* ← 章番号感 */
    letter-spacing: 0.08em;
    color: #000;
}

.topic-title a {
    color: #000;
    text-decoration: none;
}

.topic-title a:hover {
    text-decoration: underline;
}

.topic-desc {
    flex: 1;
}

/* 研究方針の枠 */
.research-policy {
    border: 1px solid #000;
    padding: 1.5rem 1.8rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.research-policy p {
    margin-bottom: 1rem;
}

.research-policy p:last-child {
    margin-bottom: 0;
}

/* =================================================
   Topic Page
================================================= */

.topic-page {
    margin-top: 3rem;
}

/* タイトル */
.topic-header {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.topic-number {
    display: block;
    font-size: 1.15rem;      /* ← 少し大きく */
    font-weight: 500;        /* ← 細すぎない */
    letter-spacing: 0.12em;  /* ← 英字らしさ強調 */
    color: #555;             /* ← 少し濃く */
    margin-bottom: 0.4rem;   /* ← タイトルとの距離を微調整 */
    position: relative;
    padding-left: 1rem;
}

.topic-number::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 1px;
    background: #999;
    transform: translateY(-50%);
}

.topic-title-main {
    font-size: 1.7rem;
    line-height: 1.4;
    margin: 0;
}

.topic-page-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
}


/* 説明文 */
.topic-description {
    max-width: 900px;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.topic-description p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* 下段2カラム */
.topic-bottom {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    align-items: flex-start;
}

/* 図（左:Topic1） */
.topic-images {
    flex: 0 0 40%;
    max-width: 40%;
}

.topic-images img {
    width: 100%;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
}

.youtube-block {
    margin-top: 2rem;
}

.movie-caption {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: #555;
}

.youtube-block {
    margin-top: 2rem;
}

.youtube-block iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
}

.movie-caption {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    color: #444;
}

.movie-credit {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.6;
}

/* Movie（左：1/3） */
.topic-movie {
    flex: 0 0 40%;
    max-width: 40%;
}

.topic-movie video,
.topic-movie iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    background: #4a72c2;
}

/* 図（左：Topic3） */
.topic-figure {
    flex: 0 0 40%;
    max-width: 40%;
}

.topic-figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* 右カラム */
.topic-info {
    flex: 1;
    font-size: 0.9rem;
}

.topic-info-block {
    margin-bottom: 2rem;
}

.topic-info-block h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.topic-info-block ul {
    list-style: none;
    padding: 0;
}

.topic-info-block li {
    margin-bottom: 0.6rem;
}

.topic-info-block a {
    color: #0044cc;
    word-break: break-all;
}

.topic-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.topic-info ul {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.topic-info li {
    margin-bottom: 0.5rem;
}

/* ===============================
   Members
================================ */

.members{
    margin:60px auto;
}

.members h3{
    margin-top:30px;
    margin-bottom:10px;
    font-size:20px;
    border-bottom:2px solid #ccc;
    padding-bottom:5px;
}

.member-list{
    list-style:none;
    padding-left:0;
}

.member-list li{
    margin:8px 0;
    font-size:16px;
}


/* ===============================
   Activities
================================ */

.activity-item {
    background: none;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.activity-date {
    font-size: 0.9rem;
    color: #777;
}

.activity-title {
    margin: 0.3rem 0;
}

.read-more {
    display: inline-block;
    margin-top: 0.5rem;
    color: #2f6b3c;
    font-weight: bold;
}

/* ===============================
   Contact
================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* 左側 */
.contact-message {
    margin-bottom: 2rem;
    line-height: 1.9;
}

.map-box {
    width: 100%;
    height: 260px;
    border: 1px solid #333;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* 右側 */
.contact-right {
    font-size: 0.95rem;
}

.contact-block {
    margin-bottom: 2.2rem;
}

.contact-block h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.contact-block a {
    color: #005bbb;
    word-break: break-all;
}


/* =========================
   画像拡大モーダル
========================= */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* 閉じるボタン */
.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

/* ===============================
   English page tuning
================================ */

.english-page .section {
    margin: 0 auto 3.5rem;
}

.english-page .section:last-child {
    margin-bottom: 0;
}

.english-page .section-title {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.english-page .section p {
    max-width: 760px;
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.english-page .section p:last-child {
    margin-bottom: 0;
}

.english-page .topic-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.english-page .topic-list li {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.english-page .topic-list a {
    color: #222;
    text-decoration: none;
}

.english-page .topic-list a:hover {
    text-decoration: underline;
}

.Updates .section-title {
    margin-left: 0;
    margin-right: 0;
}


.research-list li {
  margin-bottom: 12px;
}


.topic-list {
  list-style: none;
  padding-left: 0;
}

.topic-list li {
  margin-bottom: 12px;
}

.topic-list a {
  color: #000;
  text-decoration: none;
}

.topic-list a:hover {
  text-decoration: underline;
}



/* =================================================
   Mobile Only
================================================= */

@media (max-width: 768px) {

.hero {
    min-height: 240px;
    padding: 0 20px;
}

.site-title {
    font-size: 2.4rem;
}

.site-subtitle {
    font-size: 1.2rem;
}

body {
    overflow-x: hidden;
}

.lab-name {
    font-size: 2.2rem;
}

.lab-affiliation {
    font-size: 1.1rem;
}

.section-title {
    font-size: 1.4rem;
}

.update-paper {
    flex-direction: column;
}

.update-paper img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.wrapper {
    padding: 0 1rem;
}

.profile-layout {
    flex-direction: column;
}

.profile-sidebar {
    width: 100%;
}

.profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-photo {
    width: 140px;
}

.career-list li span {
    width: 7.5em;
}

.pub-year {
    font-size: 1.8rem;
}

.pub-item {
    margin-bottom: 2.5rem;
}

.pub-section {
    margin-left: 1rem;
}

.topic-bottom {
    flex-direction: column;
}

.topic-info {
    width: 100%;
}

.topic-title {
    font-size: 1.15rem;
    min-width: 5.5rem;
}

.topic-bottom {
    flex-direction: column;
}

.topic-movie,
.topic-info {
    max-width: 100%;
}

.topic-bottom {
    flex-direction: column;
}

.topic-figure,
.topic-info {
    max-width: 100%;
}

.topic-number {
    font-size: 1.05rem;
}

.contact-layout {
    grid-template-columns: 1fr;
}

.map-box {
    height: 220px;
}

.sub-cover {
    min-height: 120px;
    padding: 0 1rem;
}

}


/* =================================================
   PC only
================================================= */

@media (min-width: 800px) {

/* Typography */   
.page-title {
    font-size: 3rem;
}

.heading-large {
    font-size: 4rem;
}

/*　Header　*/
.page-header .wrapper {
    padding: 1.2rem 0;
}

/* Navigation */
.hamburger {
    display: none;
}

.main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    box-shadow: none;
    padding-left: 0;
    background: none;
    list-style: none;
}

.main-nav a {
    font-size: 1.4rem;
}

/* Layout */
.grid {
    display: flex;
    justify-content: space-between;
}

.sub-cover {
    min-height: 220px;
    padding: 0 2rem;
    margin-bottom: 1rem;
}

.post {
    width: 70%;
}

.sidebar {
    width: 22%;
}

.post-title {
    font-size: 2rem;
}

.about {
    margin: 4rem auto 0;
}

/*　RESEARCH　*/
.cover-research {
    background-image: none;
}
    
.post {
    width: 70%;
}
    
.sidebar {
    width: 22%;
}

.sidebar .heading-medium {
    line-height: 1;
    margin-bottom: 1rem;
}
}

