/*
** Basics
--------------------------------- */
/* 初期状態：PC表示を表示、SPは非表示 */
.pc {
    display: block !important;
}
.sp {
    display: none !important;
}

/* 画面幅が600px以下（スマホ）の場合：逆にする */
@media screen and (max-width: 600px) {
    .pc {
        display: none !important;
    }
    .sp {
        display: block !important;
    }
}

/*
** KV
--------------------------------- */

.c-hero__imgWrap {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.c-hero__img {
    display: block;
    width: 100%;
    height: auto;
}


/* 打ち消し */
.c-hero__btn {
    left: unset !important;
    margin-left: unset !important;
    width: unset !important;
}

/* 機種情報ボタン */
.c-hero__btn--01 {
    position: absolute;
    left: 24.06% !important; /* ＝270px ÷ 1920px */
    top: 42.58% !important;  /* ＝140px ÷ 620px */
    width: 22.92% !important; /* ＝440px ÷ 1920px */
    height: auto;
}

/* 素材ダウンロードボタン */
.c-hero__btn--02 {
    position: absolute;
    left: 24.06% !important;
    top: 68.71% !important;  /* ＝240px ÷ 620px */
    width: 22.92% !important;
    height: auto;
}

.c-hero__btn--01:hover,
.c-hero__btn--02:hover {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}


/* SP：下に横並び表示 */
@media (max-width: 600px) {
    .c-hero {
        padding-bottom: 0 !important;
    }

    .c-hero__imgWrap {
        text-align: center;
        padding-bottom: 1rem;
    }

    .c-hero__btn {
        position: static !important;
        display: inline-block;
        width: 40% !important;
        max-width: none; /* ← これを解除 */
        margin: 10px auto 0;
        text-align: center;
    }

    .c-hero__btn img {
        width: 100%;
        height: auto;
    }
}



/* === BGMプレイヤーUI（2025/05/01 修正版） === */

.bgm-control {
    position: fixed;
    width: 100px;
    height: 100px;
    bottom: 70px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    font-family: sans-serif;
    font-weight: bold;
    color: #333;
    z-index: 9999;
    cursor: pointer;
    user-select: none;
    border-radius: 6px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ホバー時に少し薄く */
.bgm-control:hover {
    opacity: 0.85;
}

.bgm-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.bgm-label {
    font-size: 1.4rem;
    line-height: 1.4;
}

.bgm-icon,
.bgm-label {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ミュート時の切り替え（off → bgm-off に変更） */
.bgm-control.bgm-off .bgm-icon,
.bgm-control.bgm-off .bgm-label {
    opacity: 0.65;
    transform: scale(0.95);
}
.bgm-control.bgm-off .bgm-icon img {
    opacity: 0.65;
}

@media (max-width: 600px) {
    .bgm-control {
        width: 60px;
        height: 60px;
        right: 12px;
        bottom: 30px;
    }
    .bgm-icon {
        font-size: 2rem;
        margin-bottom: 0;
    }
    .bgm-label {
        font-size: 1rem;
        line-height: 1;
    }
}


/*
** なめ猫 ホール様向け 素材DLページ
--------------------------------- */
h2.title {
    font-family: 'Reggae One', sans-serif;
    text-align: center;
    margin: -3rem auto 4rem;
}
.p-download__buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 640px;
    margin: 0 auto;
}

.p-download {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.p-download__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #c40000, #600000); /* ←赤系に差し替え */

    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 1.5rem 2rem 1.5rem 3rem;
    border-radius: 10px;
    border: 3px solid #ffcc00;
    position: relative;
    transition: opacity 0.2s ease;
}

.p-download__btn::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 1em;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff;
    transition: transform 0.2s ease;
}

.p-download__btn:hover::after {
    transform: translateX(4px);
}

.p-download__btn:hover {
    opacity: 0.85;
}

.c-neko {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100px;
    height: auto;
    z-index: 10;
    pointer-events: none;
}


@media screen and (max-width: 600px) {
    h2.title {
    margin: -2rem auto 2rem !important;
}
    .p-download__btn {
        font-size: 1.5rem;
    }
    .c-neko {
        position: static;
        display: block;
        margin: 2rem auto 0;
        width: 100px;
    }
}

/* フォーム共通 */
.c-form {
  font-size: 1.6rem;
  line-height: 1.6;
}

.c-form label {
  display: block;
  margin: 1.6rem 0 0.6rem;
  font-weight: bold;
}

.c-form__required {
  font-size: 1.4rem;
  color: #d00;
  margin-left: 1rem;
}

.c-form input[type="text"],
.c-form input[type="email"] {
  width: 100%;
  padding: 1rem;
  font-size: 1.6rem;
  border: 1px solid #ccc;
  border-radius: 0.4rem;
  box-sizing: border-box;
}

.c-button--submit {
  display: inline-block;
  background: linear-gradient(135deg, #c00, #600);
  color: #fff;
  padding: 1.2rem 3.2rem;
  font-size: 1.6rem;
  border: 2px solid #fdd835; /* 濃い黄色の枠線 */
  border-radius: 0.6rem;
  margin-top: 2.4rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
  position: relative;
}

.c-button--submit:hover {
  opacity: 0.8;
}

.c-form__badge {
  display: inline-block;
  font-size: 1rem;
  padding: 0.4em 0.7em;
  border-radius: 0.6em;
  color: #fff;
  margin-left: 0.6rem;
  margin-top: -0.2rem;
  vertical-align: middle;
  line-height: 1;
}

.c-form__badge.is-required {
  background-color: #d00;
}

.c-form__badge.is-optional {
  background-color: #999;
}


