@charset "utf-8";

/* =========================================
   全体共通
========================================= */
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;
  }
}

/* ---------------------------
  ヘッダー
---------------------------- */
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: #f6f6e6 url(../images/content-header.jpg) center/cover no-repeat;
  padding: 60px 20px;
  height: 410px;
  text-align: left;
  font-weight: bold;
  position: relative;
}
.hero .inner {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 80%;
  height: 3.2rem;
}
.hero h1,
.hero p {
  color: #85A222;
}
.hero h1 {
  font-size: 40px;
}
.hero p {
  font-size: 24px;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .hero {
    height: 300px;
    margin-bottom: 50px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero .inner{
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }
  .hero p {
    font-size: 14px;
  }
}

/* =========================================
   注意書き
========================================= */
.note {
  font-size: 20px;
  line-height: 1.5;
}
.note a {
  color: #00a0c6;
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  .note {
    font-size: 18px;
  }
}
@media screen and (max-width: 480px) {
  .note {
    font-size: 16px;
  }
}

/* =========================================
   見出しと項目
========================================= */
.under-line {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding-bottom: 5px;
  border-bottom: 2px solid #85A222;
  color: #85A222;
  margin: 50px 0 30px;
}
.item {
  background: #fff;
  padding: 10px 15px;
  margin: 10px 0;
  border-left: 4px solid #dce17a;
}
.item .year {
  font-weight: bold;
  color: #555;
}
.item .text em {
  font-style: italic;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .under-line {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
  }
}

/*アウトリーチ*/

.media-visual-box {
  /* background: #fff; */
  /* border-radius: 20px; */
  /* padding: 30px; */
  font-size: 16px;
  line-height: 1.8;
}
.media-visual-box a {
  color: #00a0c6;
  text-decoration: underline;
}
.media-notes-box {
  background: #e5efc8;
  padding: 20px;
  margin-top: 30px;
  border-radius: 10px;
}
.media-notes-box h3 {
  margin-bottom: 15px;
  color: #472A18;
  font-size: 20px;
}
.media-notes-box ul {
  margin: 0;
  padding-left: 1.2em;
}
.media-notes-box li {
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  
}


/* =========================================
   お問い合わせセクション
========================================= */
.contact {
  text-align: center;
}
.contact h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #472A18;
}
.contact h2 span {
  color: #85A222;
}
.contact p.lead {
  margin-bottom: 50px;
}
.contact-box {
  background: #fff;
  border-radius: 30px;
  padding: 50px 70px;
  border: 2px solid #85A222;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}
.contact-box h3 {
  font-size: 24px;
  font-weight: bold;
  color: #85A222;
  margin-bottom: 10px;
}
.contact-box p {
  margin-bottom: 8px;
}
.contact-cta {
  width: 30%;
}
.contact-box .contact-cta .btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  text-align: center;
  width: 100%;
}
.contact-box .contact-cta .btn.mail {
  background: #85A222;
  color: #fff;
}
.contact-box .contact-cta .btn.tel {
  background: #fff;
  color: #85A222;
  border: 1px solid #85A222;
}
@media screen and (max-width: 768px) {
  .contact h2 {
    font-size: 32px;
  }
  .contact-box {
    flex-direction: column;
    padding: 30px 20px;
    align-items: flex-start;
    gap: 20px;
  }
  .contact-cta {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .contact h2 {
    font-size: 28px;
  }
  .contact-box {
    padding: 20px;
  }
  .contact-box h3 {
    font-size: 20px;
  }
  .contact-box p,.access p {
    font-size: 13px;
  }
  .contact-box .contact-cta .btn {
    font-size: 14px;
    padding: 10px;
  }
  address{
    font-size: 15px;
  }
  
}

/* =========================================
   共同開発・取材のお問い合わせブロック
========================================= */
.contact-block {
  background: #fff;
  border: 4px solid #85A222;
  border-radius: 30px;
  padding: 40px;
  margin: 50px 0 100px;
}
.block-title {
  font-size: 28px;
  font-weight: bold;
  color: #472A18;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.block-icon {
  width: 14px;
  height: 14px;
  background-color: #85A222;
  border-radius: 2px;
  margin-right: 10px;
}
.contact-block > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.contact-block p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 1em;
}
.contact-buttons {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
}
.contact-text {
  flex: 1 1 60%;
  font-size: 16px;
  line-height: 1.8;
}
.contact-text .project-name,
.contact-text .person {
  color: #85A222;
  font-weight: bold;
  font-size: 20px;
  margin: 5px 0;
}
.mascot-img {
  flex-shrink: 0;
}
.mascot-img img {
  max-width: 250px;
  height: auto;
}
.contact-block .btn.mail {
  background: #85A222;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

a.btn.tel {
  background: #ffffff;
  color: #85A222;
  padding: 10px 20px;
  border-radius: 30px;
  border: 3px solid #85A222;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-buttons {
    width: 100%;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
  .contact-block > div {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .mascot-img img {
    max-width: 160px;
  }
  .contact-block .btn.mail {
    width: 100%;
    text-align: center;
  }
  .contact-block{
    margin: 50px 0;
    padding: 20px;
  }
 .block-title{
    font-size: 20px;
  }

  .contact-text .project-name, .contact-text .person {
    color: #85A222;
    margin: 0;
    font-size: 16px;
}
}
@media screen and (max-width: 480px) {
  .contact-block p{
    font-size: 15px;
  }

}
/* ---------------------------
  連絡先テーブル
---------------------------- */
table.contact-table {
  width: 100%;
  border-collapse: collapse;
}
.contact-table td,.contact-table th{
  vertical-align: middle;
  padding: 20px 20px;
  border-bottom: 5px solid #fffce2;
 
}
.contact-table th{
  background-color: #85a22254;
  text-align: center;
  width: 25%;
}

.contact-table td{
  background-color: #fff;
  width: 75%;
}


@media screen and (max-width: 768px) {
  th, td {
    display: inline-block;
    width: 100%;
    float: left;
  }
  .contact-table td,.contact-table th {
    width: 100%;
}
}


/* ---------------------------
  フッター
---------------------------- */
.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;
  }
}
