/* 全体の初期設定 */
html, body {
  height: 100%;
  margin: 0;
}


body {
  display: flex;
  flex-direction: column;
  font-family: 'M PLUS 1p', 'Noto Sans JP', sans-serif;
  color: #ffffff;
  background-image: url("https://upquark.shop/img/bg2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* 背景がスクロールしても画面に固定される */
  padding-top: 80px;
  min-height: 100vh; /* 背景画像が画面いっぱいに広がる */
  height: 100%;
}

/* メインの文章 */

.main-content {
  width: 100%;  /* 親要素の幅を画面いっぱいに */
  display: flex;
flex-direction: column;
  justify-content: center;  /* 画像を中央に配置 */
  text-align: center;  /* テキストの中央揃え */
  padding-bottom: 100px;
flex: 1;
}

.main-logo {
  width: 80%;          /* デフォルトはPC向け：80% */
  max-width: 500px;   
  height: auto;        /* 高さは画像の比率で自動 */
  margin-bottom:0;
  opacity: 1;
  margin: 0 auto;   /* 中央寄せ */
  display: block;
}

.logo img {
  height: 50px;
  display: block;
  margin: 0;
  padding: 0;
}

.main-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.main-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.main-copy {
  font-size: 1.8rem;        /* 大きめ */
  color: #ffffff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.8;
  font-weight: 800;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* 文字に影を追加 */
}

.sub-copy {
  font-size: 1.6rem;
  color: #ffffff;
  text-align: center;
  margin-top: 10px;
  line-height: 1.6;
  font-weight: 700; 
  text-shadow:
    0 0 3px rgba(0, 0, 0, 0.6),   /* うっすら広がる影 */
    1px 1px 4px rgba(0, 0, 0, 0.8), /* より深い影で立体感 */
    -1px -1px 2px rgba(0, 0, 0, 0.5); /* 左上にも影を追加して立体に */
}


/* メニュー全体 */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
}

.nav-menu li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-menu ul {
  display: flex;
  gap: 40px;  /* メニューの間隔はここで十分 */
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  list-style-type: none; /* liにも追加して点を消す */
}

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


/* ヘッダー */
.site-header {
  position: fixed;              /* ← 画面に固定 */
  top: 0;                       /* ← 上部に配置 */
  left: 0;
  width: 100%;                  /* ← 幅いっぱいに */
  z-index: 1000;                /* ← 他の要素より前面に表示 */
  background: rgba(0, 0, 0, 0.3); /* ← 半透明の黒背景 */
  -webkit-backdrop-filter: blur(8px); /* ← Safari対応 */
  padding: 10px 0;
  transition: background 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* ハンバーガーメニューのスタイル */
.hamburger {
  display: none; /* 初期状態では非表示 */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  cursor: pointer;
}

.hamburger .line {
  height: 4px;
  background-color: #fff; /* 白色 */
  border-radius: 2px;
}



/* 正規代理店セクション */
.official-section {
  text-align: center;
  margin-top: 150px;
  margin-bottom: 150px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.official-link {
  text-decoration: none;  /* リンクの下線をなくす */
  color: inherit;  /* 色を継承 */
}

.official-text {
  margin-top: 3px;  /* テキストとロゴの間にスペース */
  font-size: 1.2rem;  /* 少し大きめのフォント */
  font-weight: 600;
  color: #ffffff;  /* 文字色 */
  text-shadow:
    0 0 3px rgba(0, 0, 0, 0.6),   /* うっすら広がる影 */
    1px 1px 4px rgba(0, 0, 0, 0.8), /* より深い影で立体感 */
    -1px -1px 2px rgba(0, 0, 0, 0.5); /* 左上にも影を追加して立体に */
}

/* official-image */
.official-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 1px solid #2c3e50; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* ふんわり黒影 */
}


/* フッター */
.site-footer {
  position: relative;
  bottom: auto;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  padding: 20px 0;
  z-index: 9999;
}

.site-footer, .site-footer * {
  font-weight: 400 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  font-style: normal !important;
  letter-spacing: normal !important;
  font-variant: normal !important;
}

/* SNSアイコンの上段 */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.social-icon {
  width: 30px;
  height: 30px;
  display: block;  
  margin: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer p {
  margin: 0;
  font-size: 14px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #b2ff59;
  text-decoration: none;
}

.footer-nav {
  display: flex;
  gap: 15px;
}




/* ホバーで少し拡大して影を追加 */
.official-link:hover .official-image {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


/* レスポンシブ対応 */
@media (max-width: 600px) {

body {
    background-image: url("https://upquark.shop/img/bgmedia.png");
    background-size: cover; /* 背景画像が画面全体にフィットするように拡大縮小 */
    background-position: center center; /* 画像の中央を基準に配置 */
    background-repeat: no-repeat;
    background-attachment: fixed; /* 背景がスクロールしても画面に固定される */
    height: 100%; /* 高さを100%に設定して画面いっぱいに広がるようにする */
  }

.main-content h1 {
    font-size: 2rem;  /* 重複していた部分を1つに統合 */
  }

  .main-content p {
    font-size: 1rem;
  }

  .main-logo {
    width: 100vw;
    max-width: 100vw;
  }

  /* ハンバーガーメニューの表示 */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    width: 250px;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu ul {
    flex-direction: column;
  }

  .main-copy {
    font-size: 1.7rem;
    font-weight: 900;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    padding: 0 10px;
  }

  .sub-copy {
    font-size: 1.5rem;
    font-weight: 700;
    white-space: normal;
    padding: 0 10px;
  }
  /* 正規代理店バナー箇所 */
  .official-text {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
    padding: 0 10px;
  }

.official-section {
    padding: 20px 10px;
    margin-top: 60px;
    margin-bottom: 60px;
  }

  .official-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .official-text {
    font-size: 1rem;
    margin-top: 10px;
    padding: 0 10px;
  }
 
.footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
  }

.image-banner {
    background-color: #ffffff;
    padding: 20px 0;
    margin: 0;
  }
  .image-banner img {
    width: 100%; /* 画像を横幅いっぱいに設定 */
    height: auto; /* アスペクト比を保ったまま表示 */
  }
}