@charset "UTF-8";
/* CSS Document */
*{
	margin: 0 0;
}
body {
    color: #fff; /* RGB */
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    font-weight: 500;
    font-size: 1.6em;
    line-height: 2.4rem;
    text-align: center;
    background-color: #363636;
}



.menu {
	  display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(40, 40, 40, 0.4);
	z-index: 888888;
	 backdrop-filter: blur(10px); 
	-webkit-backdrop-filter: blur(10px);

  align-items: center;
  box-sizing: border-box;
  justify-content: space-between;
  padding: 1rem 2rem;
  
}

.menu-logo {
  color: #fff; 
  min-width: 80px;
  text-decoration: none;
}

.c-header__list {
	font-size: 1.2rem;
  box-sizing: border-box;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu-item {
  list-style: none;
  text-decoration: none;
}

.c-header__list-link {
  color: #fff; 
  display: block;
  margin-right: 20px;
  text-decoration: none;
  padding: 10px 0px; 
}

.c-header__list-link:hover {
	color: #FFA129;
}

.c-hamburger-menu {
  position: relative;
}

@media screen and (max-width: 900px) {
  .c-hamburger-menu__list {
    background-color: #181818; 
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 2rem; 
    position: absolute;
    transform: translateX(-100%);
    transition: 0.3s; 
    top: 100%;
    width: 100%;
  }

  #hamburger:checked ~ .c-hamburger-menu__list {
    transform: translateX(0%);
    transition: 0.3s;
  }
	.menu-logo img{
  max-height: 50px;
 
}
}

.c-hamburger-menu__input {
  display: none;
}

.c-hamburger-menu__bg {
  background-color: #181818; 
  cursor: pointer;
  display: none;
  height: 100vh;
  left: 0;
  opacity: 0.4; 
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

#hamburger:checked ~ .c-hamburger-menu__bg {
  display: block;
}

.c-hamburger-menu__button {
  display: none;
}

@media screen and (max-width: 900px) {
  .c-hamburger-menu__button {
    align-items: center;
    appearance: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px; 
    height: 32px; 
    justify-content: center;
    width: 32px; 
  }
}

.c-hamburger-menu__button-mark {
  background-color: #FFA129; 
  display: block;
  height: 3px; 
  transition: 0.3s; 
  width: 20px; 
}

@media screen and (max-width: 900px) {
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(1) {
    transform: translate(1px, 3px) rotate(45deg); 
    transform-origin: 0%; 
  }
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(2) {
    opacity: 0;
  }
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(3) {
    transform: translate(0.5px, 1px) rotate(-45deg); /* カスタマイズしてください */
    transform-origin: 0%; /* カスタマイズしてください */
  }
}

footer{
	background-color: #6D6D6D;
	padding:50px 0 0; 
	font-size: 1rem;
}
footer a{
	color: #fff;
	text-decoration: none;
padding: 10px;
	border: solid #fff 1px;
	margin-bottom: 50px;
}

/*タイトル用アニメーション*/
　
.title {
    margin: 50px auto;
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    position: relative; /* .bgextend が相対位置で動作するため */
    overflow: hidden; /* はみ出た部分を隠す */
}
p.title {
	margin: 30px auto;
	text-align: center;
}
/* title内のp要素に対しても2remのフォントサイズと5pxの余白を設定 */
.title p {
    font-size: 2rem;
    margin: 80px 0; /* 上下に50pxの余白を追加 */
}

/* titleに背景が伸びるアニメーションを追加 */
.bgextend {
    animation-name: bgextendAnimeBase;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    position: relative;
    overflow: hidden; /* はみ出た色要素を隠す */
    opacity: 0;
}

@keyframes bgextendAnimeBase {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 中の要素 */
.bgappear {
    animation-name: bgextendAnimeSecond;
    animation-duration: 1s;
    animation-delay: 0.6s;
    animation-fill-mode: forwards;
    opacity: 0;
    color: #FFA129;
    font-size: 2rem; /* 文字サイズを2remに設定 */
    font-weight: bold; /* 文字を太くする */
    margin: 5px 0; /* 上下に5pxの余白を追加 */
}

@keyframes bgextendAnimeSecond {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* 左から右 */
.bgLRextend::before {
    animation-name: bgLRextendAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 200%;
    background-color: #FFA129; /* 伸びる背景色の設定 */
    top: -1rem;
    left: 0;
}

@keyframes bgLRextendAnime {
    0% {
        transform-origin: left;
        transform: scaleX(0);
    }
    50% {
        transform-origin: left;
        transform: scaleX(1);
    }
    50.001% {
        transform-origin: right;
    }
    100% {
        transform-origin: right;
        transform: scaleX(0);
    }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定 */
.bgappearTrigger,
.bgLRextendTrigger {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* .bgLRextendTrigger が表示された時のアニメーション */
.bgLRextendTrigger.bgLRextend::before {
    animation: bgLRextendAnime 1s forwards;
}

/* .bgappearTrigger が表示された時のアニメーション */
.bgappearTrigger.bgappear {
    animation: bgextendAnimeSecond 1s forwards;
}


/*背景アニメーション*/
/* 全ページで共通のアニメーション設定 */
body {
  margin: 0;
  background-image: linear-gradient(rgba(100, 100, 100, 0.8) 0px, transparent 1px), 
                    linear-gradient(90deg, rgba(100, 100, 100, 0.8) 0px, transparent 1px);
  background-size: 20px 20px;
  background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
  min-height: 100%;
  width: 100%;
  animation: ani 120s linear infinite;
}

/* 背景アニメーションのキーフレーム */
@keyframes ani {
  0% { background-position: 50% 0%; }
  100% { background-position: 50% 100%; }
}