@charset "utf-8";



/* ====== 基本設定 ====== */
body {
  margin: 0 auto;
  font-family: sans-serif;
  background-image: url(../images/background.jpg);
  background-size: 300px;
  background-attachment: fixed;
  color: #ffffffce;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000000a9;
  box-shadow: 3px 3px 4px black;
  z-index: 10000;
}
p {
  font-size: 16px;
  font-family:sans-serif;
}

.h2-index{
  text-align: center;
  font-size: 34px;
  font-family: sans-serif;
}

/* サイン画像（左上） */
.nav-sign img {
  width: 55px;background-repeat: auto;
}



/* ====== ハンバーガーアイコン（右上） ====== */
  .hamburger {
  width: 24px;    /* 少し小さめに */
  height: 20px;
  cursor: pointer;
  position: fixed;  /* fixedで右上に固定 */
  top: 18px;        /* header高さに合わせて調整 */
  right: 20px;      /* 画面の右端から20px内側に */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10001;   /* ヘッダーより少し上に */
  }

.hamburger span {
  display: block;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* メニュー本体 */
.nav-menu {
  position: fixed;
  top: 0;
  right: -50vw;       /* 右半分分だけ画面外へ隠す */
  width: 50vw;        /* 画面の右半分の幅 */
  height: 100%;
  background-color: rgba(20, 20, 20, 0.95);
  transition: right 0.3s ease;
  z-index: 9999;
  padding-top: 60px;
  box-sizing: border-box;
}


/* ハンバーガーメニューが開かれた時に右から表示されるように */
.nav-menu.open {
  right: 0;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.nav-menu ul li {
  margin: 20px 0;
}

.nav-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  transition: color 0.3s;
}

.nav-menu ul li a:hover {
  color: #ccc;
}

/* メニュー表示時のクラス */
.nav-menu.open {
  right: 0;
}

/* ハンバーガー変形（開いた時） */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


.top img{
  width: 100%;
  margin: 0 auto;
}


/* ロゴ（中央） */
.logo-tumu {
  text-align: center;
  margin-top: 20px;
  padding: 40px 0 10px 0;
}

.logo-tumu img {
  width: 100px;
  border-radius: 50%;
}
         /* ロゴ（中央） FINNISH */

.profile {
     padding-bottom: 50px;
}

.profile-text {
  text-align: left;
}

.profile-comment {
  text-align: center;
}


/* SNS. */

.sns {
  padding: 30px 0 50px 0;
  background-color: black;
  margin: 0 auto;

}

.sns-info {
  margin: 20px auto;
  text-align: center;
}

.sns-info-child a {
  display: block;
  flex-direction: column;
  width:350px;
  height: 30px;
  padding: 10px 0;
  margin: 30px auto;
  border-radius: 10px;
  font-size: 24px;
  font-family:Courier;
  background-color: rgb(255, 255, 255);
  color: #000000;
  text-decoration: none;
  transition: all .3s;
}

.sns-info-child a:hover {
  transform: scale(1.1,1.1);
}

.sns p {
  text-align: center;
}


/* GALLERY */

.gallery {
  margin: 40px auto;
  padding: 0 0 50px 0;
}

.gallery p {
  text-align: center;
}

.gallery-slider {
  overflow: hidden;
  width: 100%;
  background-color: black;
  padding: 30px 0;
}

.gallery-track {
  display: flex;
  width: calc(300px * 16); /* 画像8枚 × 2（ループ分） */
  animation: scrollGallery 60s linear infinite;
}

.gallery-item {
  flex: 0 0 auto;
  width: 300px;
  margin-right: 20px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 2px 2px 8px #000;
}

.gallery-item img {
  transition: all 0.3s ease;  /* アニメーション効果 */
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);  /* 色を少し暗くする */
}


      /* アニメーション */
@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* GALLERY   FINNISH*/


/* footer  */

footer {
  background-color: rgba(255, 255, 255, 0.36);
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 10px auto 0 auto;
  padding: 30px 0 20px 0;
}

.footer-sns {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.footer-tumu img {
  width: 80px;
  border-radius: 50%;
}
.footer-sns {
  padding: 20px 0;
}

.footer-sns-item {
  width: 50px;
}

.footer-sns-item i {
  font-size: 30px;
}



/* footer FINNISH */





/* 画面スクロール時にふわっと表示させる　*/
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
/* 画面スクロール時にふわっと表示させる　FINNISH */





@media(min-width:768px) {
.top img{
  width: 100%;
  margin: 0 auto;
}

.logo-tumu {
  padding:120px 0 10px 0 ;
}
.logo-tumu img {
  width: 200px;
}

.profile-text {
  padding: 10px 150px;
}
  
}