@charset "utf-8";
/* CSS Document */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-image: url("/img/background.png");
  background-repeat: repeat;
  background-size: 38px 38px;
  line-height: 1.6;
  padding: 0 ;
  max-width: 750px;
  margin: 0 auto;
}


@media (max-width: 300px){
  body{ background-size: 19px 19px; }
}

/* ヘッダー */
.header {
  text-align: center;
  background-color: #f8f8f8;
}

.title {
  font-size: 1.8rem;
  color: #222;
}

/* 本文 */
.responsive-img {
  width: 100%;
  max-width: 750px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* スマホは最大幅375pxに制限 */
@media screen and (max-width: 767px) {
  .responsive-img {
    max-width: 375px;
  }
}



/* メインKV部分 */
.main_kv {
  text-align:center;
  width:100%;
  background-repeat:no-repeat;
  background-position:center center;
  line-height:0;     /* 行ボックス無効化 */
  font-size:0;       /* 空白ノードも無効化 */
  margin:0;
  padding:0;
}

.main_kv img{
  display:block;     /* インラインのベースライン隙間を排除 */
  width:100%;
  height:auto;
  margin:0;
  padding:0;
  border:0;
  vertical-align:bottom;
}

/* 追跡ボタン 
.fixed-button {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #007bff;
  color: white;
  padding: 40px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
} 

.fixed-button:hover {
  background-color: #0056b3;
}
*/




/* 画面下部固定バー */
.store-bar{
  position: fixed;
  left: 10%; right: 10%; bottom: 30px;
  z-index: 9999;
  background-image: url("/img/btn_bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 25px 0px 50px 0px /*calc(10px + env(safe-area-inset-bottom))iOSノッチ対応 */;  
}

/* ボタン（画像） */
.store-btn img{
  display: block;
  height: 64px;          /* 画像に合わせて調整。高さ基準で揃える */
  width: auto;
}

/* スマホで少し小さく */
@media (max-width: 480px){
  .store-btn img{ height: 44px; }
}

/* バーの分だけ本文が隠れないように下部余白（任意） */
body{ padding-bottom: 78px; }  /* 48px(画像) + 10px*2(上下パディング) お好みで調整 */
@supports (padding: max(0px)){
  body{ padding-bottom: max(78px, calc(48px + 20px + env(safe-area-inset-bottom))); }
}





/* 本文_x枠 */
.main_x {
  text-align: center;
  padding: 0px 0;
  background: url("/img/main_x_bg.png");
  width: 100%;
  background-repeat: no-repeat;
  background-position: top center; /* 横は中央寄せ、縦は上基準（必要に応じてcenter） */
  background-size: 100% auto;      /* 横幅100%に合わせる、縦は自動スケーリング */
}


/* ラッパー：横幅は親にフィット、上限だけ決める */
.x-embed {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

/* スマホで高さを少し詰める例 */
@media (max-width: 480px) {
  .x-embed .twitter-timeline {
    height: 480px !important;
  }
}

/* 余白調整用（任意） */
.x-embed .twitter-timeline {
  width: 100% !important;
  /* 必要なら高さ固定をCSSで制御
     height: 600px !important; */
}

/* 本文_スクリーンショット枠 */
.gallery {
  text-align: center;
  padding: 10px;
  background: url("/img/bg_gally.png");
  width: 100%;
  background-repeat: no-repeat;
  background-position: top center; /* 横は中央寄せ、縦は上基準（必要に応じてcenter） */
  background-size: 100% auto;      /* 横幅100%に合わせる、縦は自動スケーリング */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.gallery_footer_line {
	text-align: center;
    margin:0;
}
.gallery_footer_line img {
	width:100%; 
    object-fit:contain;
    display:block;
}


/* フッター */

.footer {
  background-color: #f472aa;   
  color: #fff;
  text-align: center;
  padding: 20px 0px 150px 0px;
  line-height: 200%;
}

.footer-links a {
  color: inherit;     
  text-decoration: none;  
  margin: 0 10px;
  padding-bottom: 20px;
  font-weight: 500;
}

