body {
      font-family: "Helvetica Neue", "Noto Sans JP", sans-serif;
      margin: 0;
      background: #FFFFFF;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
    }

    .header {
        background: #FFFFFF;
        position: relative; /* ← 基準にする */
    } 

    /* リンク */    
    .link-group {
        position: absolute;
        top: 20px;
        right: 50px;
        display: flex;
        gap: 10px;
    }
    .link-button {
        color: #555;
        display: flex;
        text-decoration: none;
    }

    .link-button:hover {
    color: #b4b4b4;
    }

    .header-inner {
        margin: 0 auto;
        padding: 20px;
    }

    /* 右寄せエリア */
    .right-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ← 右寄せのキモ */
    padding-left: 20px
    }
    
    .title-small {
      font-size: 14px;
      color: #555;
    }

    /* タイトル */
    .site-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    }

    /* メニュー */
    .menu {
    display: flex;
    justify-content: center;
    border-top: 2px solid #a0d8ef;
    border-bottom: 2px solid #a0d8ef;
    padding: 8px 0;
    gap: 20px; 
    }

    /* ボタン */
    .menu-item {
    display: inline-block;
    padding: 10px 18px;
    background: #FFFFFF;
    color: #007acc;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: 0.2s;
    position: relative;
    }

    .menu-item:hover {
    background: #a0d8ef;
    color: #FFFFFF;
    }

/* スライドデザイン */
.slider-section {
  padding: 20px 20px;
  text-align: center;
}

.slider-wrapper {
  position: relative;
  max-width: 1000px;
  margin: auto;
}

.slider {
  display: flex;
  overflow: hidden;
  gap: 20px;
  scroll-behavior: smooth;
}

.slider img {
  width: 1000px;
  height: 600px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 12px;
  transition: 0.3s;
}

.slider img:hover {
  transform: scale(1.05);
}

/* ボタン */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.prev {
  left: -10px;
}

.next {
  right: -10px;
}

.dots {
  text-align: center;
  margin-top: 15px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  background: #ccc;
  border-radius: 50%;
  transition: 0.3s;
}

/* 今の位置 */
.dot.active {
  background: #007acc;
  transform: scale(1.3);
}

.section {
  padding: 25px 5px;
  font-size: 25px;
  text-align: center;  
}

/* 色帯 */
.section-gray {
  background: #f3f3f3;
}

.section-blue {
  background: #f3fcff;
}

/* タイトル */
h2 {
  font-size: 26px;
  font-weight: 450;
  margin-bottom: 15px;
  color: var(--text);
}

h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: var(--main);
  margin-top: 10px;
}

.paper {
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}

.paper img {
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: 0.2s;
  text-align: center;
}

.paper img:hover {
  opacity: 0.85;
}

.paper-info {
  margin-top: 15px;
  font-size: 15px;
  color: #333;
  text-align: right; 
}

/* What's New */

.news-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}

.news-card {
  display: flex;
  align-items: center;
  gap: 30px;

  background: white;
  padding: 22px 28px;

  border-radius: 10px;

  box-shadow:
    0 2px 10px rgba(0,0,0,0.04);

  transition: 0.25s;
}

.news-card:hover {
  transform: translateY(-2px);

  box-shadow:
    0 6px 16px rgba(0,0,0,0.06);
}

.news-date {

  font-size: 0.95rem;
  font-weight: 600;

  color: #5f6b7a;
}

.news-content {
  font-size: 1rem;
  font-weight: 400;
}

.news-content a {
  color: #222;
  text-decoration: none;
}

.news-content a:hover {
  color: #1d4ed8;
}

.news-tag {
  display: inline-block;
  padding: 4px 10px;
  margin-right: 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.news-tag.publication {
  background: #eef4ff;
  color: #315ea8;
}

.news-tag.photo {
  background: #f7eef4;
  color: #9b4d74;
}

.news-tag.award {
  background: #faf4df;
  color: #9a6a00;
}

/* スマホ */

@media (max-width: 768px) {

  .news-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .news-date {
    min-width: auto;
  }

}

/* リンク */
.link {
  display: inline-block;
  margin-top: 10px;
  color: #007acc;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

/* フッター */
.footer {
    background: #d9f4ff;
    padding-left: 20px;
    padding: 20px;
}

.foot-inner {
    display: flex;
    justify-content: space-between; /* ← これがキモ */
    align-items: center;
}

.menu-foot {
    display: flex;
    padding: 8px 0;
    gap: 40px; 
}

.menu-item-foot {
    display: inline-block;
    color: #646464;
    text-decoration: none;
    transition: 0.2s;
    position: relative;
    }

.menu-item-foot:hover {
    color: #b4b4b4;
    }

.left-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 20px
}

.foot-small{
    color: #555;
    font-size: 20px;
    padding: 0;
}

.foot-title{
    color: #555;
    font-size: 30px;
    padding: 20px;
}

.small {
  font-size: 12px;
  text-align: right;
  margin-top: 10px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}