@charset "utf-8";

header,footer {
  font-family: "sofia-pro", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
}
body p{
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
}
body h2 {
  font-family: "sofia-pro", sans-serif;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0.1em;
}
body h3 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.12em;
}


/* ヘッダーを固定 */
.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white; /* 必要に応じて背景色を設定 */
  z-index: 1000; /* 他の要素の上に表示されるようにする */
}


/* ヘッダー、フッター */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
nav ul li {
  margin-left: 32px;
}
nav ul li a {
  text-decoration: none;
  font-size: 16px;
}
nav ul li a:hover {
  color: #a5a5a5;
}
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 10px 10px;
}
.container2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 0px 40px;
}
footer {
  background-color: #333333;
  color: #ffffff;
}

/* インナーラップ */
.innerWrap {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 10px; /* 横方向のパディングを追加 */
}


/* フッター */
.copyright {
  letter-spacing: 0.1em;
    margin: 0 auto;
    text-align: center;
  }
footer p{
  font-size: 15px;
  font-weight: 300;
  padding:20px 0 30px;
  margin-top: 30px;
}


/* ハンバーガーメニュー */
.hamburger-menu {
  display: none; /* 初期は非表示 */
  cursor: pointer;
}
.hamburger-menu img {
  width: 22px;
  height: 22px;
}

/* オーバーレイメニューのスタイル */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e8e8e8; /* 背景を不透明なグレーに設定 */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.overlay nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
.overlay nav ul li {
  margin: 30px 0; /* リストアイテムの間にスペースを追加 */
}
.overlay nav ul li a {
  color: #333333;
  font-family: "sofia-pro", sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.1em;
  text-decoration: none;
}
.overlay-close-button {
  font-family: "Noto Sans JP";
  font-weight: 100;
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 50px;
  color: #333333;
  cursor: pointer;
}



/* main */
main {
  margin-top:200px;
}
.innerWrap h3 {
  font-size: 26px;
  padding: 15px 0 25px;
  letter-spacing: 0.05em;
}
.innerWrap p {
  font-size: 14px;
  font-weight: 350;
  letter-spacing: 0.03em;
  line-height: 1.7;
}
.news-date{
  color: #a5a5a5;
  font-family: "sofia-pro", sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.1em;
  text-decoration: none;
  }

main img{
    width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 10px;
  }




  /* レスポンシブデザイン *//* 下層ページにもコピー */
@media (min-width: 1025px) {
  .hamburger-menu {
      display: none; /* 1024px以上ではハンバーガーメニューを非表示 */
  }
}

/* 下層ページにもコピー */
@media screen and (max-width: 1024px) {
  .container{
    padding: 20px;
  }
  .logo {
    width: 340px;
  }
  .desktop-nav {
    display: none;
  }
  .hamburger-menu {
    display: block;
  }
  .overlay nav ul {
    display: flex;
    flex-direction: column; /* リストアイテムを縦に並べる */
    align-items: center;
  }
  .hamburger-menu img{
    width: 40px;
    height:auto;
  }
}


@media screen and (max-width: 764px) {
  .innerWrap{
    padding: 0 15px;
    }
  .innerWrap2 {
    padding: 0 15px;
    }
  .innerWrap h2 {
    font-size: 30px;
    color: #333333;
    padding-top: 140px;
    margin-bottom: 15px;
  }
  .innerWrap2 h3 {
    font-size: 20px;
    padding: 22px 0 11px;
    line-height:2;
  }
  .Text p{
    font-size: 13px;
    line-height: 1.5;
  }
}

