/* =========================================
   全体共通
========================================= */
body {
    font-family: "Yu Gothic", sans-serif;
    background: #FFFCE1;
    margin: 0;
    color: #472A18;
    letter-spacing: 0.05em;
  }
  .inner {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
  }
  section {
    margin-bottom: 100px;
  }
  
  @media screen and (max-width: 768px) {
    .inner{
      margin-bottom: 50px;
    }
    section{
        margin-bottom: 0;
    }
    
  }
  
  /* ---------------------------
    ヘッダー
  ---------------------------- */
  header {
    background: white;
    border-bottom: 3px solid #85A222;
    padding: 20px 20px 10px;
    height: 80px;
    position: fixed; /* ← ここを追加 */
    top: 0;           /* ← ここを追加 */
    left: 0;          /* ← ここを追加 */
    width: 100%;      /* ← ここを追加 */
    z-index: 1000;    /* ← 必ず他の要素より前面に */
  }
  main {
    margin-top: 80px; /* headerの高さ分 */
  }
  header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  nav ul {
    list-style: none;
    display: flex;
    gap: 1em;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    padding: 0;
  }
  nav ul li {
    cursor: pointer;
  }
  .logo{
    width: 20%;
  }
  .logo img {
    width: 100%;
    height: auto;
  }
  
  /* レスポンシブ */
  @media screen and (max-width: 768px) {
    header .inner {
      flex-wrap: wrap;
      padding: 0;
    }
    .logo {
      width: 30% !important;
  }
  }
  
  /* ---------------------------
    ハンバーガーメニュー
  ---------------------------- */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #472A18;
    border-radius: 2px;
  }
  
  @media screen and (max-width: 768px) {
    .hamburger {
      display: flex;
      margin-left: auto;
    }
    nav {
      display: none;
      width: 100%;
      background: white;
      position: absolute;
      top: 80px;
      left: 0;
      z-index: 10;
      box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }
    nav.open {
      display: block;
    }
    nav ul {
      flex-direction: column;
    }
    nav ul li {
      padding: 15px 20px;
      border-bottom: 1px solid #ddd;
      background: white;
    }
  }

 /* ---------------------------
  セクションタイトル
  コンテンツヘッダー
---------------------------- */
  
  .hero {
    background: #85A222;
    text-align: center;
    padding: 60px 0;
  }

.section-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    color: #472A18;
    margin-bottom: 50px;
    line-height: 1.4;
  }
  .section-title span {
    display: block;
    font-size: 32px;
    color: #85A222;
  }
  .under-line {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding-bottom: 5px;
    border-bottom: 2px solid #85A222;
    color: #85A222;
    margin-top: 50px;
    margin-bottom: 30px;
  }
  @media screen and (max-width: 768px) {
    .under-line {
        font-size: 24px;
        margin-top: 0px;
        margin-bottom: 20px;
    }
    .hero {
        height: 180px;
        margin-bottom: 50px;
    }
    .hero-circle{
        width: 90%;
    }
  }
  @media screen and (max-width: 480px) {
  
    .section-title,.section-title span {
      font-size: 28px;
    }
  
  }

  /*半円*/
  .hero {
    background-color: #85A222;
    position: relative;
    height: 250px;
    overflow: hidden;
  }
  
  .hero-circle {
    position: absolute;
    bottom: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 300px;
    background-color: #FFFCE1;
    border-radius: 50%;
    align-items: center;
    text-align: center;
    padding-top: 30px;
}
  
  .hero-circle .section-title {
    margin: 0;
    color: #472A18;
  }
  
  .hero-circle .section-title span {
    color: #85A222;
    display: block;
    font-size: 28px;
  }

  /*しろいぬくんナズナちゃん*/
.hero-logo img {
width: 50%;
}
.hero-logo {
    text-align: center;
}

@media screen and (max-width: 768px) {
  
    .hero {
        height: 180px;
        margin-bottom: 50px;
    }
    .hero-circle{
        width: 90%;
    }
    .hero-logo img {
        width: 100%;
    }
  }
  @media screen and (max-width: 480px) {
  

  }


/* ---------------------------
  ニュースリスト
---------------------------- */


.news h2 {
    font-size: 24px;
    color: #85A222;
    margin-bottom: 20px;
  }
  
  .news-list {
    list-style: none;
    padding: 0;
    font-size: 16px;
  }
  
  .news-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
  }
  
  .news-list span {
    font-weight: bold;
    margin-right: 1em;
  }
  
  .news-list-section {
    background: white;
    border: 4px solid #85A222;
    border-radius: 40px;
    padding: 60px 40px;
    margin-bottom: 100px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
  }
  .news-heading {
    flex: 0 0 200px;
    text-align: center;
  }
  .news-heading h2,
  .news-heading p {
    color: #85A222;
    font-weight: bold;
    margin: 0;
  }
  .news-heading h2 {
    font-size: 40px;
  }
  .news-heading p {
    font-size: 20px;
    margin-top: 5px;
  }
  .news-list-wrapper {
    flex: 1;
  }
  .news-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .news-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    flex-direction: row;
  }
  .news-list li a {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    padding: 15px 0;
    flex-direction: row;
  }
  .news-list li a:hover {
    opacity: 0.7;
  }
  .news-list .category {
    display: inline-block;
    background: #85A222;
    color: white;
    border-radius: 9999px;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    min-width: 90px;
    text-align: center;
  }
  .news-list time {
    font-weight: bold;
    white-space: nowrap;
    color: #472A18;
  }
  .news-list .title {
    color: #472A18;
    margin: 0;
    font-weight: normal;
  }
  
  @media screen and (max-width: 768px) {
    .news-list-section {
      gap: 10px;
      padding: 20px 20px;
      margin-bottom: 0;
      display: block;
  }
    .news-heading h2 {
      font-size: 28px;
    }
    .news-heading p {
      font-size: 16px;
    }
    .news-list li,
    .news-list li a {
      flex-direction: column;
      align-items: flex-start;
      gap: 5px;
    }
    .news-list li a{
      padding: 0;
    }
  }

  /* ---------------------------
  植物っておしゃべりなの知ってる？
---------------------------- */
.concept-flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .concept-left {
    flex: 0 0 45%;
    text-align: center;
  }
  
  .concept-character {
    width: 100%;
    max-width: 400px;
    height: auto;
  }
  
  .concept-right {
    flex: 1;
  }
  
  .concept-right h2.green {
    color: #85A222;
    border-bottom: 2px solid #85A222;
    padding-bottom: 5px;
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .concept-right p {
    font-size: 16px;
    line-height: 1.8;
    color: #472A18;
  }
  
  @media screen and (max-width: 768px) {
    .concept-flex {
      flex-direction: column;
      text-align: center;
    }
  
    .concept-left,
    .concept-right {
      flex: 1 1 100%;
    }
  
    .concept-right {
      padding-top: 20px;
    }
  }

  
  /* ---------------------------
  カードセクション
---------------------------- */


  .sense-section {
    background: #fefbe5;
    padding: 60px 0;
    color: #472A18;
  }
  
  .sense-box-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .sense-box {
    background: #fff;
    box-shadow: 0 0 0 4px #85A222 inset;
    border-radius: 16px;
    overflow: hidden;
    width: calc(100% / 3 - 10px);
    height: fit-content;
}
  
  .sense-title {
    font-family: "Zen Kurenaido", sans-serif;
    background: #85A222;
    color: #fff;
    padding: 16px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;

}
  
  .sense-body {
    padding: 20px;
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    color: #85a222;
  }

  .sence-photo {
    text-align: center;
    width: 100%;
    padding: 20px 20px 0 20px;
}

.sence-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sense-title span {
    /* width: 8px; */
    /* height: 10px; */
    background: #fff;
    color: #85a222;
    padding: 1px 4px;
    font-size: 13px;
    border-radius: 50%;
    margin-left: 10px;
}

section.sense-section > .inner {
    margin-bottom: 0px;
}
.sense-section {
    background: #fae3514d;
    padding: 60px 0;
    color: #472A18;
}

@media screen and (max-width: 768px) {
    .sense-box-group{
        display: block;
    }
    .sense-box{
        width: 100%;
        margin-bottom: 20px;
    }

}

  /* ---------------------------
 About Usセクション
---------------------------- */
.about-section {
    background: #fffce1;
    padding: 60px 0;
    color: #472A18;
  }
  section.about-section>.inner > .section-title {
    margin: 0px;
    text-align: left;
  }
  
  .about-heading {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .about-subheading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #472A18;
    border-bottom: 2px solid #85A222;
    padding-bottom: 5px;
  }
  
  .about-box {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}
  
  .about-image {
    width: 35%;
    text-align: center;
  }
  
  .about-image img {
    width: 100%;
    border-radius: 16px;
  }
  
  .caption {
    background: #85A222;
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .caption strong {
    display: block;
    font-size: 16px;
    margin-top: 5px;
  }
  
  .about-text {
    font-size: 16px;
    line-height: 2;
    width: 50%;
  }
  
  @media screen and (max-width: 768px) {
    .about-box {
      flex-direction: column;
      gap: 20px;
    }
  
    .about-text {
      font-size: 15px;
      width: 100%;
    }
    .about-image {
        width: 80%;
        margin: auto;
    }
  }

   /* ---------------------------
  「科学の楽しさを届けるために」セクション
---------------------------- */
.mission-section {
    background: #fff;
    padding: 40px 0;
    color: #472A18;
}
.mission-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0px;
}
  
  .mission-text {
    flex: 1 1 55%;
    font-size: 16px;
    line-height: 2;
  }
  
  .mission-text .under-line.green {
    color: #85A222;
    border-color: #85A222;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  .mission-image {
    flex: 1 1 40%;
    text-align: right;
  }
  
  .mission-image img {
    max-width: 100%;
    height: auto;
  }

  section.mission-section h2.under-line {
    text-align: center;
}

.mission-section h2.under-line{
    margin-top: 0;
}
  
  @media screen and (max-width: 768px) {
    .mission-inner {
      flex-direction: column;
    }
    .mission-text {
      font-size: 15px;
    }
    .mission-image {
      text-align: center;
      margin-top: 20px;
    }
    .mission-section {
        margin-bottom: 50px;
    }
    .about-section{
        padding-bottom: 0;
    }
  }

    /* ---------------------------
  関わってくださった皆様のセクション
---------------------------- */
.thanks-flex {
    display: flex;
}
  
  .thanks-inner {
    border: 4px solid #85A222;
    border-radius: 24px;
    padding: 40px;
    background-color: #fff;
  }
  
  .thanks-left {
    flex: 1 1 55%;
    color: #472A18;
    font-size: 16px;
    line-height: 1.8;
  }
  
  .thanks-heading {
    color: #85A222;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .thanks-divider {
    border: none;
    border-top: 2px solid #85A222;
    margin: 30px 0 20px;
  }
  
  .contact-box .contact-label {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }
  
  .contact-box .dot {
    width: 12px;
    height: 12px;
    background: #85A222;
    display: inline-block;
    margin-right: 8px;
    border-radius: 2px;
  }
  
  .btn-contact {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    background: #85A222;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
  }
  
  .btn-contact img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }
  
  .thanks-right {
    flex: 1 1 35%;
    text-align: center;
  }
  
  .thanks-right img {
    max-width: 100%;
    height: auto;
  }
  
  @media screen and (max-width: 768px) {
    .thanks-inner {
      flex-direction: column;
      padding: 20px;
    }
    .thanks-right {
      margin-top: 20px;
    }
    .btn-contact {
      width: 100%;
      justify-content: center;
    }
    .thanks-flex {
        display: block;
    }
  }
  
  
  

  

  /* ---------------------------
  フッター
---------------------------- */
.footer-inner {
    background: #85A222;
  }
  .footer-info {
    color: #fff;
    padding: 20px 0;
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto 50px;
  }
  .footer-nav {
    width: 40%;
  }
  .footer-access-info {
    width: 60%;
    display: flex;
  }
  .footer-univ-logo {
    width: 50%;
    margin-right: 20px;
  }
  .footer-univ-logo img {
    width: 100%;
  }
  footer .copy-right {
    background: #553c2d;
    color: #fff;
    text-align: center;
    padding: 20px;
  }
  
  @media screen and (max-width: 768px) {
    .footer-info {
      flex-direction: column;
      gap: 30px;
      padding: 20px;
    }
    .footer-nav,
    .footer-access-info {
      width: 100%;
    }
    .footer-access-info {
      flex-direction: column;
    }
    .footer-univ-logo {
      width: 100%;
      margin-right: 0;
      margin-bottom: 15px;
    }
    .footer-univ-logo img {
      width: 80%;
      max-width: 200px;
    }
  }