
/* =========================
   Base
========================= */

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background: #ffffff;
  color: #333;
  overflow-x: hidden;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 40px auto;
  background: rgba(255,255,255,0.5);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
}

.center-img {
    display: block;
    margin: 0 auto;
}

/* =========================
   Header
========================= */

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav {
  margin-top: 10px;
  align-self: flex-end;
}

header h2 {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
}

/* =========================
   Navigation
========================= */

nav a {
  color: #333;
  margin-right: 15px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.3s;
}


nav a:hover {
  color: #007acc;
}

/* =========================
   Common Link
========================= */

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #007acc;
  text-decoration: underline;
}

/* =========================
   Hero
========================= */

.hero {
  text-align: center;
  padding: 20px 20px 0px;
}

.hero h1 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 3rem;
  color: #19448e;
}

/* =========================
   Section
========================= */

section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

/* =========================
   Heading
========================= */

h2 {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  border-left: 4px solid #FFB11B;
  padding-left: 10px;
  margin-bottom: 30px;
}

/* 薄い背景付き見出し */
.style h2,
.chevron h2 {
  background: #fff8dc;
  padding: 10px 15px;
  border-left: 5px solid #FFB11B;
}

/* =========================
   Breadcrumb
========================= */

.breadcrumb {
  font-size: 1rem;
  color: #666;
  margin: 10px 20px;
}

.breadcrumb a {
  color: #007acc;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* =========================
   Slideshow
========================= */

.slideshow{
    position:relative;
    width:50%;
    height:350px;
    overflow:hidden;
    margin: 0 auto;
    margin-bottom: 40px
}

.slide{
    position:absolute;
    width:100%;
    height:100%;

    object-fit: contain;
    object-position: center;

    opacity:0;
    transition:opacity 1s;
}

.slide.active{
    opacity:1;
}

/* =========================
   Tag
========================= */

.tag {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.paper {
  background: #DB4D6D;
}

.project {
  background: #2ecc71;
  /*background: #FFB11B;*/
}

.info {
  background: #007acc;
}

.thesis,
.student {
  background: #888;
}

/* =========================
   News
========================= */
.news-item{
  margin-bottom: 24px;
}

.news-date {
  font-size: 0.85rem;
  color: #888;
}

.news-title {
  margin-top: 8px;
  font-size: 1.05rem;
}

.news-title a {
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}

.news-title a:hover {
  color: #007acc;
}

.news-more {
  text-align: right;
  margin-top: 20px;
}

.news-more a {
  display: inline-block;
  background: rgba(102,102,102,0.7);
  padding: 8px 16px;
  border-radius: 999px;
  color: #FFFFFF;
  text-decoration: none;
  transition: 0.3s;
  border: 1px solid #eee;
}

.news-more a:hover {
  color: #007acc;
  background: rgba(255,255,255,0.95);
}

/* =========================
   Card
========================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: white;
  border: 1px solid #FFB11B;
  border-radius: 12px;
  padding: 20px;
  transition: 0.3s;
  min-height: 230px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.card h3 {
  text-align: center;
}


/* =========================
   toc
========================= */

.toc {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.toc li {
  margin: 10px 0;
}

.toc a {
  color: #666;
  text-decoration: none;
}

.toc a:hover {
  color: #007acc;
}


/* =========================
   Chevron List
========================= */

.chevron ul {
  list-style: none;
  padding-left: 0;
}

.chevron li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}

.chevron li::before {
  content: "›";
  color: #007acc;
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 10px;
}

.chevron h2{
  background: #fff8dc;
  padding: 10px 15px;
  border-left: 5px solid #FFB11B;
}

/* =========================
   iframe (Google Maps)
========================= */

iframe {
  width: 100%;
  max-width: 800px;
  height: 400px;
  border: none;
  border-radius: 10px;
}

/* =========================
   Image
========================= */

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* =========================
   Strong
========================= */

strong {
  color: #007acc;
}

/* =========================
   Bottom Info
========================= */

.bottom-info {
  display: flex;
  gap: 40px;
  margin-top: 60px;
}

/* 2カラム */
.bottom-info > div {
  flex: 1;
}

/* 見やすく */
.bottom-info p {
  line-height: 1.8;
}

.contact, .access{
  flex: 1;
}


/* =========================
   Footer
========================= */

footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #ddd;
  color: #666;
}