/* ========================================
   リセット & ベース
   ======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Helvetica Neue", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #333;
  line-height: 1.8;
  background-color: #D0D0D0;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ========================================
   トップページ
   ======================================== */
.top__copyright {
  font-family: "M PLUS 2", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #333;
  position: fixed;
  bottom: 11px;
  left: 13px;
}
@media (min-width: 769px) {
  .top__copyright {
    position: absolute;
    bottom: 11px;
    left: calc(-50vw + 50% + 13px);
  }
}

/* ========================================
   SP版（768px以内）
======================================== */
@media (max-width: 768px) {
  .top {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 13px;
    position: relative;
  }

  /* トップヘッダー（装飾上 + ロゴ） */
  .top__header {
    position: static;
  }

  /* 装飾上: 画面左上に固定 */
  .top__deco-upper {
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    max-width: 336px;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
  }

  .top__deco-upper img {
    width: 100%;
    max-width: none;
    display: block;
  }

  /* トップロゴ */
  .top__logo {
    text-align: center;
    padding: 0 20px 16px;
    position: relative;
    z-index: 2;
  }

  .top__logo img {
    width: 234px;
    height: 155px;
  }

  /* コレクション選択エリア */
  .top__select {
    position: static;
  }

  /* 装飾下: 画面右下に固定 */
  .top__deco-lower {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 60%;
    max-width: 288px;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
  }

  .top__deco-lower img {
    width: 100%;
    display: block;
  }

  /* 中央コンテンツ */
  .top__select-inner {
    position: relative;
    background-color: transparent;
    padding: 0;
  }

  /* リードテキスト + 矢印 */
  .top__lead-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
  }

  .top__lead {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    white-space: nowrap;
  }

  .top__arrow {
    width: 13px;
    height: 24px;
    flex-shrink: 0;
  }

  /* バナー */
  .top__banners {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 337px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .top__banner-link {
    display: block;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .top__banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }

  .top__banner-link img {
    width: 337px;
    height: 182px;
    display: block;
    object-fit: cover;
  }

  /* バナーラッパー（2つ目） */
  .top__banner-wrap {
    position: relative;
  }

  /* 装飾：ペン */
  .top__deco-pen {
    position: absolute;
    width: 96px;
    bottom: -20px;
    left: -25px;
    transform: rotate(0deg);
    pointer-events: none;
    z-index: 1;
  }

  /* 装飾：コントローラー */
  .top__deco-controller {
    position: absolute;
    width: 70px;
    top: 45%;
    right: -28px;
    pointer-events: none;
    z-index: 1;
  }
}

/* ========================================
   PC版（769px以上）
   ======================================== */
@media (min-width: 769px) {
  .top {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .top__header {
    position: static;
  }

  .top__deco-upper {
    position: absolute;
    top: 0;
    left: calc(-50vw + 50%);
    width: 480px;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
  }

  .top__deco-upper img {
    width: 100%;
    display: block;
  }

  .top__logo {
    text-align: center;
    padding: 120px 20px 40px;
    position: relative;
    z-index: 2;
  }

  .top__logo img {
    width: 327px;
    height: 216px;
  }

  .top__select {
    position: static;
  }

  .top__deco-lower {
    position: absolute;
    bottom: 0;
    right: calc(-50vw + 50%);
    width: 432px;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
  }

  .top__deco-lower img {
    width: 100%;
    display: block;
  }

  .top__select-inner {
    position: relative;
    background-color: transparent;
    padding: 0;
  }

  .top__lead-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .top__lead {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
  }

  .top__arrow {
    width: 18px;
    height: auto;
    flex-shrink: 0;
  }

  .top__banners {
    display: flex;
    flex-direction: column;
    gap: 19.2px;
    width: 404px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }







  .top__banner-link {
    display: block;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .top__banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }

  .top__banner-link img {
    width: 404px;
    height: 218.18px;
    display: block;
    object-fit: cover;
  }

  .top__banner-wrap {
    position: relative;
  }

  .top__deco-pen {
    position: absolute;
    width: 96px;
    bottom: -20px;
    left: -25px;
    transform: rotate(0deg);
    pointer-events: none;
    z-index: 1;
  }

  .top__deco-controller {
    position: absolute;
    width: 70px;
    top: 56%;
    right: -28px;
    pointer-events: none;
    z-index: 1;
  }


  .top__logo {
    padding-top: 0;
  }

  .top__select-inner {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
  }

  .top__lead {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 700;
  }

  .top__arrow {
    width: 13px;
    height: 24px;
  }

  .top__deco-upper {
    width: 579px;
    height: 189px;
  }
  .top__deco-upper img {
    width: 579px;
    height: 189px;
    max-width: none;
  }

  .top__deco-pen {
    left: -32px;
    bottom: -16px;
  }

  .top__deco-lower {
    width: 445px;
    height: 264px;
  }
  .top__deco-lower img {
    width: 445px;
    height: 264px;
    max-width: none;
  }

  .top__lead-wrap {
    order: 2;
    margin-bottom: 0;
    margin-top: 40px;
  }

  .top__banners {
    order: 1;
  }
}
