@charset "utf-8";
/* ============================================
   PC版 メディアクエリ追加CSS
   768px以上でPC レイアウトを適用
   既存の style.css の後に読み込んでください
   ============================================ */

/* ===== スマホ横余白対策 ===== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ===== メインビジュアル背景 SP/PC 出し分け ===== */
.topo-sp .bg-pc { display: none; }

@media (min-width: 768px) {
  .topo-sp .bg-sp { display: none; }
  .topo-sp .bg-pc { display: block; }
}

@media (min-width: 768px) {

  /* ===== ベース: 幅固定を解除 ===== */
  .topo-sp {
    width: 100%;
    height: auto;
  }

  /* ===== HEADER ===== */
  .topo-sp .head {
    width: 100%;
    height: 70px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  .topo-sp .logo {
    width: auto;
    height: 47px;
    margin-left: 0;
  }

  /* ===== MAIN / HERO ===== */
  .topo-sp .main {
    width: 100%;
    height: 600px;
  }

  .topo-sp .hero {
    width: 100%;
    height: 600px;
    top: 70px; /* fixed headerの高さ分 */
  }

  .topo-sp .bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .topo-sp .filter {
    width: 100%;
    height: 100%;
    top: 0;
  }

  .topo-sp .hero-in {
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    gap: 40px;
  }

  .topo-sp .ttl {
    width: auto;
    height: auto;
    margin-right: 0;
  }

  .topo-sp .text-wrapper {
    position: static;
    width: auto;
    font-size: 48px;
    letter-spacing: 2px;
  }

  .topo-sp .group {
    position: static;
    width: auto;
    height: auto;
    margin-top: 12px;
    justify-content: center;
  }

  .topo-sp .div {
    width: auto;
    font-size: 16px;
  }

  .topo-sp .btn {
    width: 320px;
    height: 56px;
  }

  .topo-sp .frame {
    padding: 15px 60px;
  }

  .topo-sp .text-wrapper-2 {
    font-size: 16px;
    margin-left: 0;
    margin-right: 0;
  }

  .topo-sp .vector {
    margin-right: 0;
  }

  /* ===== WRAPPER（aboutとcontentを囲む） ===== */
  .topo-sp .div-wrapper {
    width: 100%;
    justify-content: center;
  }

  /* ===== ABOUT SECTION ===== */
  .topo-sp .about-out {
    width: 100%;
    height: auto;
    padding: 80px 40px;
    align-items: center;
  }

  .topo-sp .about-in {
    width: 100%;
    max-width: 800px;
    gap: 28px;
  }

  .topo-sp .text-wrapper-3 {
    font-size: 32px;
    letter-spacing: 1.28px;
  }

  .topo-sp .khb {
    font-size: 18px;
    line-height: 1.8;
  }

  .topo-sp .text-wrapper-4 {
    font-size: 16px;
    line-height: 1.8;
  }

  .topo-sp .frame-wrapper {
    width: 320px;
    height: 54px;
  }

  .topo-sp .frame-2 {
    padding: 15px 60px;
  }

  .topo-sp .text-wrapper-5,
  .topo-sp .text-wrapper-6 {
    font-size: 15px;
    margin-left: 0;
    margin-right: 0;
  }

  .topo-sp .img,
  .topo-sp .vector-2 {
    margin-right: 0;
  }

  /* ===== CTA SECTION ===== */
  .topo-sp .cta {
    width: 100%;
    height: auto;
    margin-left: 0;
    padding: 80px 40px;
  }

  .topo-sp .cta-in {
    max-width: 800px;
    margin: 0 auto;
    gap: 28px;
  }

  .topo-sp .element-white {
    width: 200px;
    height: auto;
  }

  .topo-sp .text-wrapper-7 {
    font-size: 32px;
    letter-spacing: 1.28px;
  }

  .topo-sp .view {
    width: 100%;
    height: auto;
    margin-right: 0;
    display: flex;
    justify-content: center;
  }

  .topo-sp .btn-2 {
    position: relative;
    display: inline-block;
    padding: 6px 24px;
    border-radius: 10px;
    background-color: var(--topo);
    left: auto;
    transform: none;
    width: auto;
  }

  .topo-sp .btn-2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid var(--topo);
  }

  .topo-sp .text-wrapper-8 {
    position: static;
    width: auto;
    font-size: 18px;
    margin: 0;
  }

  .topo-sp .polygon {
    display: none;
  }

  /* CTA内の登録ボタン */
  .topo-sp .cta .btn {
    width: 320px;
    height: 56px;
  }

  .topo-sp .frame-3 {
    padding: 15px 60px;
  }

  .topo-sp .text-wrapper-9 {
    font-size: 16px;
    margin-left: 0;
    margin-right: 0;
  }

  /* ===== CONTENT SECTION ===== */
  .topo-sp .content-out {
    width: 100%;
    height: auto;
    padding: 80px 40px;
    justify-content: center;
  }

  .topo-sp .content-in {
    width: 100%;
    max-width: 1120px;
    margin: 0;
    gap: 40px;
  }

  .topo-sp .topo {
    font-size: 32px;
    height: auto;
    margin-top: 0;
  }

  /* セクション: 話題のコンテンツ / オリジナル */
  .topo-sp .section,
  .topo-sp .section-2 {
    width: 100%;
    height: auto;
  }

  .topo-sp .ttl-2 {
    position: static;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .topo-sp .text-wrapper-10 {
    position: static;
    width: auto;
    height: auto;
    font-size: 20px;
    white-space: normal;
    display: inline-block;
  }

  .topo-sp .line,
  .topo-sp .line-2 {
    position: static;
    display: inline-block;
    width: 40px;
    height: 3px;
    margin-left: 8px;
    vertical-align: middle;
  }

  /* カードグリッド: .in/.section-in を4列グリッドに */
  .topo-sp .in,
  .topo-sp .section-in {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列 */
    gap: 20px;
    top: auto;
    left: auto;
  }

  /* .div-2 は2枚入りのラッパーなので中身を縦に並べる */
  .topo-sp .div-2 {
    display: contents; /* グリッドを透過させて子要素を直接グリッドに載せる */
  }

  .topo-sp .element {
    width: 100%;
    height: auto;
  }

  .topo-sp .frame-4 {
    width: 100%;
    height: auto;
  }

  .topo-sp .rectangle,
  .topo-sp .rectangle-2 {
    width: 100%;
    height: auto;
    display: block;
  }

  .topo-sp .text-wrapper-11,
  .topo-sp .text-wrapper-12 {
    width: 100%;
    height: auto;
    font-size: 12px;
    line-height: 1.6;
  }

  /* ===== BANNER AREA ===== */
  .topo-sp .bn-area {
    width: 100%;
    height: auto;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    background-color: #dcdcdc;
  }

  .topo-sp .text-wrapper-13 {
    width: 100%;
    font-size: 20px;
    height: auto;
    margin-top: 0;
    text-align: center;
  }

  /* バナー6枚横1列 */
  .topo-sp .bn-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .topo-sp .aba,
  .topo-sp .iat,
  .topo-sp .khb-2,
  .topo-sp .aab,
  .topo-sp .yts,
  .topo-sp .kfb {
    width: 320px;
    height: auto;
    overflow: visible;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .topo-sp .aba img,
  .topo-sp .iat img,
  .topo-sp .khb-2 img,
  .topo-sp .aab img,
  .topo-sp .yts img,
  .topo-sp .kfb img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  /* ===== FOOTER ===== */
  .topo-sp .footer {
    width: 100%;
    height: auto;
    margin-left: 0;
    padding: 40px 40px 160px; /* 固定バナー分の余白 */
    align-items: center;
  }

  .topo-sp .txt {
    width: 100%;
    max-width: 800px;
    gap: 10px;
  }

  .topo-sp .all-rights-reserved {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 0;
  }

  .topo-sp .text-wrapper-14 {
    font-size: 11px;
  }
}

/* ===== より大きなPC画面（1200px以上）===== */
@media (min-width: 1200px) {

  .topo-sp .hero-in {
    gap: 48px;
  }

  .topo-sp .text-wrapper {
    font-size: 56px;
  }
}
/* ===== 画面下固定バナー ===== */
.fixed-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 16px 16px;
  background-color: rgba(26, 26, 30, 0.92);
  backdrop-filter: blur(4px);
  gap: 10px;
}

.fixed-btn .fixed-title {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.64px;
  line-height: normal;
  white-space: nowrap;
}

.fixed-btn .btn {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 280px;
  height: 48px;
}

.fixed-btn .frame {
  background: linear-gradient(
    90deg,
    rgba(79, 178, 51, 1) 0%,
    rgba(210, 225, 13, 1) 100%
  );
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.fixed-btn .text {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.56px;
  line-height: 20px;
  white-space: nowrap;
}

/* ===== フッター SP/PC 改行制御 ===== */
@media (min-width: 768px) {
  .br-sp {
    display: none;
  }
  .topo-sp .all-rights-reserved {
    white-space: nowrap;
  }
}
/* ===== ボタン内SVGアイコン サイズ強制指定 ===== */
.topo-sp .frame img,
.topo-sp .frame-2 img,
.topo-sp .frame-3 img {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  flex-shrink: 0;
}