body{
    background-position: center top;
}
img {
  display: block;
  margin: 0 auto;
}
h1{text-align: center;}
h1 {
  margin-top: 900px; 
  text-align: center;
}
img{
  margin-top: 270px; 
  text-align: center;
}
h1 {font-size: 80px;}
h1 {letter-spacing: 50px;}
img {width: 400px;}
img:nth-of-type(2) {
  width: 1400px;}
img:nth-of-type(2) {margin-top: 200px;}
p{font-size: 70px;}
p {
  font-family: 'Noto Sans JP', sans-serif;
}
p{text-align: center;}
P{margin-top :100px;}
a {
  display: inline-block;
  padding: 20px 40px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 40px;
  margin: 80px auto 0;
}
body{
    background-position: center top;
    text-align: center;
}
a {
  display: inline-block;
  padding: 20px 40px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 40px;
  margin-top: 80px;
}
.hero img {
  width: 100%;
  height: 70%;
  object-fit: cover;
}
.hero {
  height: 100vh;   
}
div{margin-top :980px;}
.hero img {margin-bottom: 900px;} 
.hero img {
  width: 100%;   
  height: auto;  
  display: block;
}
.hero img {
  width: 100%;      
  height: auto;     
  display: block;   
}
/* SNSボタンの配置 */
.sns-buttons {
  margin-top: 18200px;
  text-align: center;
}

/* Instagram ボタン */
.insta-btn {
  display: inline-block;
  padding: 20px 50px;
  font-size: 120px;
  text-decoration: none;
  border-radius: 10px;
  color: #fff;
  background: #E1306C; /* インスタのピンク */
  margin: 20px;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.sns-buttons {
  text-align: center;
}

.insta-btn {
  display: inline-block;
  margin-left: auto;
  margin-right
}


.insta-btn {
  transform: none !important;
  transition: none !important;
  opacity: 1 !important;
}

.insta-btn:hover,
.insta-btn:active {
  transform: none !important;
}

/* これは変えない */
.sns-buttons {
  margin-top: 13900px;
}






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

  /* 画像は全部スマホ幅にフィット */
  img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
  }

  /* ロゴ画像だけ少し小さめにしたい場合 */
  img:first-of-type {
    max-width: 30%;
    margin: 70px auto;
  }

  /* h1 の文字が大きすぎるので調整 */
  h1 {
    font-size: 24px;
    letter-spacing: 8px;
    margin-top: 170px;
  }

  /* テキストもスマホ用に調整 */
  p {
    font-size: 20px;
    margin-top: 40px;
    padding: 0 20px;
  }

  /* ボタンもスマホサイズに */
  a {
    font-size: 24px;
    padding: 12px 24px;
    margin-top: 40px;
  }

  /* hero画像の余白をリセット */
  .hero img {
    margin-bottom: 40px;
  }

  /* SNSボタンの巨大な余白をリセット */
  .sns-buttons {
    margin-top: 30px !important;
  }

  .insta-btn {
    font-size: 32px;
    padding: 12px 24px;
  }
}




@media screen and (max-width: 600px) {
  .hero img {
    max-width: 100% !important;
  }
}




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

  /* hero内の画像を全部そろえる */
  .hero img {
    width: 100%;
    height: auto;
    margin: 20px 0;   /* 上下の余白を統一 */
    object-fit: cover;
  }

  /* hero全体の余白をリセット */
  .hero {
    margin-top: 40px;
  }
}




.hero img {
  margin: 60px 0;
}

@media screen and (max-width: 600px) {
  .hero {
    margin-top: -40px; /* ← ここで画像全体を下げる */
  }
}




@media screen and (max-width: 600px) {
  p {
    font-size: 20px;
    line-height: 1.8;   /* ← 行間を広げて読みやすくする */
    letter-spacing: 0.5px; /* ← ほんの少し字間を整える */
    margin: 30px 20px;  /* ← 上下の余白を自然に */
    text-align: left;   /* ← 左揃えにすると改行が自然になる */
  }
}


@media screen and (max-width: 600px) {
  .second-message {
    margin-top: -30px; /* ← マイナスで上に移動する */
  }
}


@media screen and (max-width: 600px) {
  .sns-buttons {
    margin-top: -950px !important; /* ← DEGショップのすぐ下に来る */
    text-align: center;
  }
}


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

  /* DEGショップボタンとインスタボタンを同じサイズに */
  a,
  .insta-btn {
    font-size: 24px;      /* ← 好きな大きさに調整できる */
    padding: 12px 24px;   /* ← ボタンの大きさを揃える */
    border-radius: 24px;
    width: 80%; 
  }

}

@media screen and (max-width: 600px) {
  .insta-btn {
    margin-left: 14px;  /* ← ここを増やすと右へ動く */
  }
}

@media screen and (max-width: 600px) {
  h1 {
    margin-left: 12px;  /* ← ここを増やすと右へ動く */
  }
}



/* ───────────────────────────────
   スマホ用：インスタボタンのズレ完全修正
─────────────────────────────── */
@media screen and (max-width: 600px) {

  /* まず、PC用の巨大 margin-top を無効化 */
  .sns-buttons {
    margin: 0 !important;
    padding: 0;
  }

  /* インスタボタンを画面下に固定（ズレない最強の方法） */
  .sns-buttons {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 9999;
    text-align: center;
  }

  /* ボタンの見た目をスマホ用に整える */
  .insta-btn {
    font-size: 24px;
    padding: 12px 24px;
    border-radius: 20px;
    margin: 0;
    width: auto;
    transform: none !important;
  }
}




/* ───────────────────────────────
   スマホ用：インスタボタンだけを安定させる
   ※ DEGショップボタンには一切触らない
─────────────────────────────── */
@media screen and (max-width: 600px) {

  /* 他のスマホCSSの上書きを無効化 */
  .sns-buttons {
    margin: 0 !important;
    padding: 0 !important;
    position: fixed !important;
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    z-index: 9999 !important;
    text-align: center !important;
  }

  .insta-btn {
    font-size: 24px !important;
    padding: 12px 24px !important;
    border-radius: 20px !important;
    margin: 0 !important;
    width: auto !important;
    transform: none !important;
  }
}














@media screen and (max-width: 600px) {
  div {
    margin-top: 0 !important;
  }
}













