@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap');

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* ヘッダー全体 */
header {
  background-image: url(pexels-kunio-hori-691347157-18189628.jpg);
  background-position: center;
  background-size: cover;
  padding: 0px;
  width: 100%;
  height: 100vh;
  /* 横幅 */
  /* 画面の高さいっぱい */
  display: flex;
  flex-direction: row;
  background-attachment: fixed;
}

h1 {
  left: 50px;
  position: fixed;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(255, 255, 255);
  font-size: 40px;
  top: 0;
}

/* ナビゲーションメニュー */
header nav li {
  padding: 20px 0;
  margin: 15px 0;
  list-style: none;

  a {
    text-decoration: none;
    color: rgb(216, 213, 213);
  }

  transition: font-size 0.3s ease;
}

header nav li:hover {
  font-size: 20px;
}

.hamback {
  position: fixed;
  top: 30px;
  right: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: aliceblue;
  border-radius: 50%;
  height: 85px;
  aspect-ratio: 1;
  z-index: 2000;
}

#hamburger {
  width: 45px;
  height: 35px;
  cursor: pointer;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.line {
  display: block;
  height: 4px;
  width: 100%;
  background-color: #333;
  margin: 6px 0;
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
}

#hamburger.is-active {

  transform: rotate(45deg);
}

#hamburger.is-active .line:nth-child(2) {
  width: 0px;
}

#hamburger.is-active .line:nth-child(1),
#hamburger.is-active .line:nth-child(3) {

  transition-delay: 0.3s;
}

#hamburger.is-active .line:nth-child(1) {
  transform: translateY(13px);
}

#hamburger.is-active .line:nth-child(3) {
  transform: translateY(-7.5px) rotate(90deg);
}

/* メニュー本体 */
.menu {
  position: fixed;
  top: 0;
  right: -300px;
  /* 初期は画面外に隠す */
  width: 200px;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0);
  padding: 60px 20px 20px 20px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.menu.open {
  right: 0;
  /* メニューが開いたとき */
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  margin-bottom: 15px;
}

.menu a {
  text-decoration: none;
  color: #eee4e4;
  font-weight: bold;
}

li {
  list-style-type: none;
}

ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  /* ドットの分の余白も詰めたい場合 */
}

/*スクロールボタン*/
.container_02 {
  margin: 0;
  padding: 0;
  height: 180vh;
  width: 150vw;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.container_02 a:hover {
  opacity: 0.7;
}

.scroll-down_02 {
  position: relative;
  width: 200px;
  height: 200px;
  color: #fff;
  font-family: serif;
  text-decoration: none;
}

.circle-text_02 {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

.circle-text_02 span {
  position: absolute;
  left: 50%;
  font-size: 16px;
  transform-origin: 0 100px;
}

.arrow_02 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
  animation: pulse_02 2s infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse_02 {

  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.1);
  }
}

/*お知らせ*/
a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.news {
  padding: 50px 0;
  background: #FFF7EA;
}


.inner {
  width: 80%;
  background-color: #fff;
  margin: 0 auto;
  padding: 65px 0 100px;
}


.sub_ttl {
  font-size: 30px;
  text-align: center;
  margin-bottom: 40px;
}

/* ここからがニュース記事のCSS */

.news_list {
  margin: 0 5%;
}

.news_list_item {
  padding: 25px 0;
  border-bottom: 1px solid #E6E6E6;
}

.news_list_item:first-child {
  border-top: 1px solid #E6E6E6;
}
.news_list_item a {
 position: relative;
 display: flex;
 padding-right: 30px;
}

.news_list_date {
  font-size: 15px;
  display: flex;
  margin-right: 15px;
  align-items: center;
}

.news_item {
  background: #F6C6A2;
  border-radius: 14px;
  width: 6em;
  /* 親要素の文字サイズを基準 */
  text-align: center;
  margin-left: 20px;
}

.arrow {
  width: 25px;
  height: 1px;
  background: #707070;
  position: absolute;
  top: 50%;
  right: 0;
}

.arrow::after {
  content: "";
  display: block;
  width: 6px;
  height: 1px;
  background: #707070;
  transform: rotate(45deg);
  position: absolute;
  right: 0px;
  bottom: 2px;
}


@media screen and (max-width: 1024px) {
    .news_list_item a {
        display: block;
    }
}

@media screen and (max-width: 769px) {
    .news_list_item a  {
        font-size: 14px;
    }


}
@media screen and (max-width: 480px) {
    .arrow {
        display: none;
    }
    .news_list_item a {
        padding-right: 0;
    }
}